Skip to content

🎥 Make videos programmatically with React

Update rendering.test.ts

Jonny Burger05015a32c6ae
diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.ts
index 18fd6bb437..354a11cf62 100644
--- a/packages/it-tests/src/rendering/rendering.test.ts
+++ b/packages/it-tests/src/rendering/rendering.test.ts
@@ -337,10 +337,8 @@ test("Dynamic duration should work", async () => {
}
);
- expect(task.exitCode).toBe(Number(process.platform === "win32"));
- // FIXME: --props don't work well on windows, this is an edge case for example
- // In this case we should warn the user about it that they should pass a file path instead
- expect(fs.existsSync(outputPath)).toBe(process.platform !== "win32");
+ expect(task.exitCode).toBe(0);
+ expect(fs.existsSync(outputPath)).toBe(true);
if (process.platform !== "win32") {
const info = await execa("ffprobe", [outputPath]);