Skip to content

🎥 Make videos programmatically with React

one or another

Jonny Burgera760f4b9e6c0
diff --git a/tests/rendering.test.ts b/tests/rendering.test.ts
index 658981538e..e834bbf6b9 100644
--- a/tests/rendering.test.ts
+++ b/tests/rendering.test.ts
@@ -132,7 +132,9 @@ test("Should render a ProRes video", async () => {
const info = await execa("ffprobe", [out]);
const data = info.stderr;
- expect(data).toContain("prores (4444)");
+ expect(data.includes("prores (4444)") || data.includes("prores (ap4h")).toBe(
+ true
+ );
fs.unlinkSync(out);
});