Skip to content

Commit dc4b26c

Browse files
committed
#43 add with signature test case
1 parent cfd0ef7 commit dc4b26c

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed
46.6 KB
Loading
48.8 KB
Binary file not shown.

test/index.test.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,4 +439,15 @@ describe("PDFium", () => {
439439
expect(result.data).toMatchImageSnapshot();
440440
});
441441
});
442+
443+
test("should render with signature", async () => {
444+
await loadDocument("test_8_with_signature.pdf", async (document) => {
445+
const result = await document.getPage(0).render({
446+
scale: 3,
447+
render: renderFunction,
448+
renderFormFields: true,
449+
});
450+
expect(result.data).toMatchImageSnapshot();
451+
});
452+
});
442453
});

0 commit comments

Comments
 (0)