Skip to content

Commit 6ad89e1

Browse files
Seth WestphalSeth Westphal
Seth Westphal
authored and
Seth Westphal
committed
Fix mac tests.
1 parent b60a2c7 commit 6ad89e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe('HtmlPdf', () => {
125125
const options: HtmlPdf.CreateOptions = {
126126
port,
127127
extraHTTPHeaders: {
128-
'Authorization': 'Bearer 123',
128+
'Authorization': 'Bearer',
129129
'X-Custom-Test-Header': 'Passed1!',
130130
},
131131
};
@@ -134,7 +134,7 @@ describe('HtmlPdf', () => {
134134
const pdf = await getParsedPdf(result.toBuffer());
135135
const rawTextContent = pdf.getRawTextContent();
136136

137-
expect(rawTextContent).to.contain('Authorization').and.to.contain('Bearer 123');
137+
expect(rawTextContent).to.contain('Authorization').and.to.contain('Bearer');
138138
expect(rawTextContent).to.contain('X-Custom-Test-Header').and.to.contain('Passed1!');
139139
});
140140

0 commit comments

Comments
 (0)