🎥 Make videos programmatically with React
fix rendering test
Jonny Burger3df15f2e1318
diff --git a/tests/rendering.test.ts b/tests/rendering.test.tsindex 8024e8f29d..2ab66316e0 100644--- a/tests/rendering.test.ts+++ b/tests/rendering.test.ts@@ -172,7 +172,7 @@ test("Should be able to render a WAV audio file", async () => {);task.stderr?.pipe(process.stderr);await task;- const exists = fs.existsSync(outputPath);+ const exists = fs.existsSync(out);expect(exists).toBe(true);const info = await execa("ffprobe", [out]);@@ -197,7 +197,7 @@ test("Should be able to render a MP3 audio file", async () => {);task.stderr?.pipe(process.stderr);await task;- const exists = fs.existsSync(outputPath);+ const exists = fs.existsSync(out);expect(exists).toBe(true);const info = await execa("ffprobe", [out]);@@ -223,7 +223,7 @@ test("Should be able to render a AAC audio file", async () => {);task.stderr?.pipe(process.stderr);await task;- const exists = fs.existsSync(outputPath);+ const exists = fs.existsSync(out);expect(exists).toBe(true);const info = await execa("ffprobe", [out]);