Fix new tests introduced by html export tweaks (#10022)

This commit is contained in:
Michael Telatynski 2023-01-30 15:52:38 +00:00 committed by GitHub
parent 4c1e4f5127
commit 5095bc0427
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -286,7 +286,7 @@ describe("HTMLExport", () => {
// Ensure that the attachment is present // Ensure that the attachment is present
const files = getFiles(exporter); const files = getFiles(exporter);
const file = files["files/hello-1-1-1970 at 12-00-00 AM.txt"]; const file = files[Object.keys(files).find((k) => k.endsWith(".txt"))];
expect(file).not.toBeUndefined(); expect(file).not.toBeUndefined();
// Ensure that the attachment has the expected content // Ensure that the attachment has the expected content

File diff suppressed because one or more lines are too long