Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 5095bc0

Browse files
authored
Fix new tests introduced by html export tweaks (#10022)
1 parent 4c1e4f5 commit 5095bc0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/utils/exportUtils/HTMLExport-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ describe("HTMLExport", () => {
286286

287287
// Ensure that the attachment is present
288288
const files = getFiles(exporter);
289-
const file = files["files/hello-1-1-1970 at 12-00-00 AM.txt"];
289+
const file = files[Object.keys(files).find((k) => k.endsWith(".txt"))];
290290
expect(file).not.toBeUndefined();
291291

292292
// Ensure that the attachment has the expected content

test/utils/exportUtils/__snapshots__/HTMLExport-test.ts.snap

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)