🎥 Make videos programmatically with React
Update rendering.test.ts
Jonny Burger01b5973a7805
diff --git a/tests/rendering.test.ts b/tests/rendering.test.tsindex 7065b80236..a8265cc7c4 100644--- a/tests/rendering.test.ts+++ b/tests/rendering.test.ts@@ -1,7 +1,6 @@import execa from "execa";import fs from "fs";import path from "path";-import { interpolate } from "../packages/core/src";const outputPath = path.join(process.cwd(), "packages/example/out.mp4");@@ -276,9 +275,7 @@ test("Should fail to render an audio file that doesn't have any audio inputs", a});test("Dynamic duration should work", async () => {- const randomDuration = Math.round(- interpolate(Math.random(), [0, 1], [2, 20])- );+ const randomDuration = Math.round(Math.random() * 18 + 2);const task = await execa("npx",[