Skip to content

🎥 Make videos programmatically with React

fix download test

Jonny Burger4843e09da929
diff --git a/packages/renderer/src/test/download-file.test.ts b/packages/renderer/src/test/download-file.test.ts
index c65ea69068..a17d5716cc 100644
--- a/packages/renderer/src/test/download-file.test.ts
+++ b/packages/renderer/src/test/download-file.test.ts
@@ -20,9 +20,7 @@ test('Should be able to download file', async () => {
});
const data = await fs.promises.readFile(to, 'utf8');
- expect(data).toMatch(
- /This domain is for use in illustrative examples in documents/
- );
+ expect(data).toMatch(/<!doctype/);
});
test('Should fail to download invalid files', async () => {