diff --git a/tests/utils/pdf.ts b/tests/utils/pdf.ts index 0f2c637..a9b8bf6 100644 --- a/tests/utils/pdf.ts +++ b/tests/utils/pdf.ts @@ -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() {