mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Fix new tests introduced by html export tweaks (#10022)
This commit is contained in:
parent
4c1e4f5127
commit
5095bc0427
2 changed files with 4 additions and 4 deletions
|
@ -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
Loading…
Reference in a new issue