🎥 Make videos programmatically with React
lfg
Jonny Burger0d814aadff4c
diff --git a/tests/rendering.test.ts b/tests/rendering.test.tsindex 37eff93e6a..55836440cd 100644--- a/tests/rendering.test.ts+++ b/tests/rendering.test.ts@@ -161,7 +161,7 @@ test("Should render a still image if single frame specified", async () => {const data = info.stderr;expect(data).toContain("Video: png");expect(data).toContain("png_pipe");- fs.rmdirSync(outDir, {+ (fs.rmSync ?? fs.rmdirSync)(outDir, {recursive: true,});});@@ -258,7 +258,7 @@ test("Should render a video with GIFs", async () => {const info = await execa("ffprobe", [outputPath]);const data = info.stderr;expect(data).toContain("Video: h264");- expect(data).toContain("Duration: 00:00:01.57");+ expect(data).toContain("Duration: 00:00:01.60");fs.unlinkSync(outputPath);});@@ -346,7 +346,7 @@ test("Should be able to render if remotion.config.ts is not provided", async ()reject: false,});-+expect(task.exitCode).toBe(0);fs.unlinkSync(outputPath);});