🎥 Make videos programmatically with React
fix deprecation and test coverage
Jonny Burger7443bc922b4d
diff --git a/TESTING.md b/TESTING.mdindex 34ac14aa3e..cc221f7731 100644--- a/TESTING.md+++ b/TESTING.md@@ -3,10 +3,10 @@ For general information concerning contribution, please consult [CONTRIBUTION.md### Core Coverage----++++### Running testsdiff --git a/tests/rendering.test.ts b/tests/rendering.test.tsindex 37eff93e6a..a2b8fd8180 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, {+ await (fs.promises.rm ?? fs.promises.rmdir)(outDir, {recursive: true,});});@@ -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);});