Skip to content

🎥 Make videos programmatically with React

Update studio.test.ts

JonnyBurger90b38cd7a10b
diff --git a/packages/it-tests/src/bundle/studio.test.ts b/packages/it-tests/src/bundle/studio.test.ts
index 437f4cb268..b74af738a3 100644
--- a/packages/it-tests/src/bundle/studio.test.ts
+++ b/packages/it-tests/src/bundle/studio.test.ts
@@ -7,6 +7,9 @@ test('Should be able to start the studio without zod installed', () => {
cwd: path.join(process.cwd(), '..', 'example-without-zod'),
}).toString('utf-8');
+ // Should not print warnings or errors
+ expect(res.length).toBeLessThan(200);
+
expect(res).toContain('Yes, the server started.');
});
@@ -14,6 +17,7 @@ test('Should be able to start the studio', () => {
const res = execSync('bunx remotion studio --test-for-server-open', {
cwd: path.join(process.cwd(), '..', 'example'),
}).toString('utf-8');
-
+ // Should not print warnings or errors
+ expect(res.length).toBeLessThan(200);
expect(res).toContain('Yes, the server started.');
});