🎥 Make videos programmatically with React
path to delete
Jonny Burger2ad398072773
diff --git a/packages/example/src/test/stills.test.ts b/packages/example/src/test/stills.test.tsindex f6a12795d9..e4d29aef0f 100644--- a/packages/example/src/test/stills.test.ts+++ b/packages/example/src/test/stills.test.ts@@ -26,7 +26,7 @@ test((c) => c.id === 'react-svg') as TCompMetadata;- const folder = path.join(tmpdir(), 'path/to');+ const folder = path.join(tmpdir(), 'path', 'to');const testOut = path.join(folder, 'still.png');const downloadMap = RenderInternals.makeDownloadMap();@@ -56,8 +56,6 @@ test(/Cannot use frame 500: Duration of composition is 300, therefore the highest frame that can be rendered is 299/);- RenderInternals.deleteDirectory(folder);-await expect(() =>renderStill({composition,@@ -87,6 +85,7 @@ test(expect(existsSync(testOut)).toBe(true);unlinkSync(testOut);RenderInternals.deleteDirectory(bundled);+ RenderInternals.deleteDirectory(folder);cleanDownloadMap(downloadMap);await close();