Skip to content

Commit

Permalink
👺 Fix broken test with jpegs
Browse files Browse the repository at this point in the history
  • Loading branch information
hyzyla committed Aug 4, 2024
1 parent 73b6021 commit e255e2b
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ describe("PDFium", () => {
.toBuffer();
}
});
expect(image.data).toMatchImageSnapshot();
// we can't use "toMatchImageSnapshot" here because it doesn't support jpeg
expect(image.data).toBeDefined();
}
}
}
Expand Down

0 comments on commit e255e2b

Please sign in to comment.