Skip to content

Commit

Permalink
🚧 progress: Fix issue with example PDF used in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed May 13, 2024
1 parent cb2ee6a commit 44271f5
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions imports/lib/pdf/pdf.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ import {client, server} from '../../_test/fixtures';

import {fetchPDF} from './pdf';

const document = `%PDF-1.
1 0 obj<</Pages 2 0 R>>endobj
2 0 obj<</Kids[3 0 R]/Count 1>>endobj
3 0 obj<</Parent 2 0 R>>endobj
trailer <</Root 1 0 R>>
const document = `%PDF-1.0
1 0 obj<</Type/Catalog/Pages 2 0 R>>endobj
2 0 obj<</Type/Pages/Kids[3 0 R]/Count 1>>endobj
3 0 obj<</Type/Page/MediaBox[0 0 3 3]>>endobj
xref
0 4
0000000000 65535 f
0000000009 00000 n
0000000052 00000 n
0000000101 00000 n
trailer<</Size 4/Root 1 0 R>>
startxref
147
%EOF
`;

client(__filename, () => {
Expand Down

0 comments on commit 44271f5

Please sign in to comment.