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

pull/28217/head
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
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();
// Ensure that the attachment has the expected content

File diff suppressed because one or more lines are too long