Skip to content

🎥 Make videos programmatically with React

Update rendering.test.ts

Jonny Burger4864f1b6eaaf
diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.ts
index e19d88c423..589d203f4e 100644
--- a/packages/it-tests/src/rendering/rendering.test.ts
+++ b/packages/it-tests/src/rendering/rendering.test.ts
@@ -361,10 +361,15 @@ test("Should render a still that uses the staticFile() API", async () => {
test("Dynamic duration should work, and render from inside src/", async () => {
const randomDuration = Math.round(Math.random() * 18 + 2);
const task = await execa(
- "pnpm",
+ path.join(
+ process.cwd(),
+ "..",
+ "example",
+ "node_modules",
+ ".bin",
+ "remotion"
+ ),
[
- "exec",
- "remotion",
"render",
"index.tsx",
"dynamic-duration",