Skip to content

🎥 Make videos programmatically with React

fix tests hanging

Jonny Burger05eb7b12392b
diff --git a/tests/ssr/render-media.test.ts b/tests/ssr/render-media.test.ts
index 8621a9d1f1..8f93a3e6ec 100644
--- a/tests/ssr/render-media.test.ts
+++ b/tests/ssr/render-media.test.ts
@@ -85,4 +85,6 @@ test("should fail on invalid CRF", async () => {
puppeteerInstance: browserInstance,
});
}).rejects.toThrow(/Expected CRF to be a number, but is "wrong"/);
+
+ await browserInstance.close();
});