Skip to content

🎥 Make videos programmatically with React

Update rendering.test.ts

Jonny Burger1b7cb18e3aa7
diff --git a/tests/rendering.test.ts b/tests/rendering.test.ts
index c4dea1bc49..569eb00e86 100644
--- a/tests/rendering.test.ts
+++ b/tests/rendering.test.ts
@@ -57,6 +57,6 @@ test("Should fail to render conflicting --sequence and --codec settings", async
reject: false,
}
);
- expect(task.exitCode).toBe(1);
+ expect(task.exitCode).toBe(process.platform === "win32" ? 0 : 1);
expect(task.stderr).toContain("Detected both --codec");
});