Skip to content

Commit

Permalink
Merge pull request #4 from OnedocLabs/ffo-135-move-code-snippets-to-sdk
Browse files Browse the repository at this point in the history
Fixes error console.log messages in snippets.test.ts
  • Loading branch information
pierredge authored Jun 7, 2024
2 parents 7595f9a + aee6e9a commit 8fd61b8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/typescript/src/test/snippets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe("node", () => {
console.log(pdf.url);
expect(pdf.url).toBeDefined();
} catch (error) {
console.error("Error during PDF conversion:", error);
console.error("Error during PDF generation:", error);
throw error;
}
});
Expand Down Expand Up @@ -131,7 +131,7 @@ describe("node", () => {
console.log(resultObject);
expect(resultObject).toBeInstanceOf(Array<FormDetectResponseItem>);
} catch (error) {
console.error("Error during PDF merge:", error);
console.error("Error during PDF form detect:", error);
throw error;
}
});
Expand All @@ -156,7 +156,7 @@ describe("node", () => {
pdfStream.pipe(fs.createWriteStream("./result_mark.pdf"));
expect(pdfStream).toBeInstanceOf(Readable);
} catch (error) {
console.error("Error during PDF merge:", error);
console.error("Error during PDF form mark:", error);
throw error;
}
});
Expand Down
Binary file modified result_docx.pdf
Binary file not shown.
Binary file modified result_mark.pdf
Binary file not shown.
Binary file modified result_merge.pdf
Binary file not shown.

0 comments on commit 8fd61b8

Please sign in to comment.