🎥 Make videos programmatically with React
close puppeteer instances when tests are done
Jonny Burger255374c69ea5
diff --git a/tests/ssr/render-media.test.ts b/tests/ssr/render-media.test.tsindex d8df602c20..8621a9d1f1 100644--- a/tests/ssr/render-media.test.ts+++ b/tests/ssr/render-media.test.ts@@ -31,6 +31,7 @@ test("Render video with browser instance open", async () => {frameRange: [0, 2],puppeteerInstance,});+ await puppeteerInstance.close();});test("Render video with browser instance not open", async () => {diff --git a/tests/ssr/render-still.test.ts b/tests/ssr/render-still.test.tsindex fbd6a93f11..0641144680 100644--- a/tests/ssr/render-still.test.ts+++ b/tests/ssr/render-still.test.ts@@ -29,6 +29,7 @@ test("Render video with browser instance open", async () => {composition: reactSvg,puppeteerInstance,});+ await puppeteerInstance.close();});test("Render still with browser instance not open and legacy webpack config", async () => {