1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

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
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