Skip to content

Commit

Permalink
test(pdfImages): add test for outputprefix arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Apr 1, 2020
1 parent 8162b2f commit 61899b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ describe('pdfImages function', () => {
test('Should accept options and list all images in file', async () => {
const poppler = new Poppler();
const options = {
list: true
pngFile: true
};

await poppler.pdfImages(options, file).then((res) => {
await poppler.pdfImages(options, file, `file_prefix`).then((res) => {
expect(typeof res).toBe('string');
});
});
Expand Down

0 comments on commit 61899b0

Please sign in to comment.