Skip to content

Commit

Permalink
fix: visual pdf tests throwing error
Browse files Browse the repository at this point in the history
  • Loading branch information
schoero committed Nov 13, 2023
1 parent 1e4f5a8 commit 7936151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/pdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class TestDocument extends PDFDocument {
constructor(testDocumentName: TestDocumentName, options?: PDFKit.PDFDocumentOptions) {
super({ ...options, bufferPages: true, compress: false });
this.testDocumentName = testDocumentName;
this.info.CreationDate = undefined;
this.info.CreationDate = new Date(0);
}

public async writeFile() {
Expand Down

0 comments on commit 7936151

Please sign in to comment.