Skip to content

Commit 4f017a1

Browse files
CCM-11026: Fix after bad rebase
1 parent ab32399 commit 4f017a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lambdas/backend-api/src/__tests__/templates/domain/template-pdf.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test('has the given key attributes', () => {
1010
templateId: 'template-id',
1111
clientId: 'template-owner',
1212
},
13-
Buffer.from('')
13+
Uint8Array.from('')
1414
);
1515

1616
expect(pdf.templateId).toBe('template-id');
@@ -26,7 +26,7 @@ test('parse with no custom personalisation', async () => {
2626
templateId: 'template-id',
2727
clientId: 'template-owner',
2828
},
29-
file
29+
new Uint8Array(file)
3030
);
3131
await pdf.parse();
3232

@@ -76,7 +76,7 @@ test('parse with custom personalisation', async () => {
7676
templateId: 'template-id',
7777
clientId: 'template-owner',
7878
},
79-
file
79+
new Uint8Array(file)
8080
);
8181
await pdf.parse();
8282

0 commit comments

Comments
 (0)