Skip to content

🎥 Make videos programmatically with React

selected port

Jonny Burger35078dfadf7a
diff --git a/packages/it-tests/package.json b/packages/it-tests/package.json
index 8819092779..f98bc1b3c4 100644
--- a/packages/it-tests/package.json
+++ b/packages/it-tests/package.json
@@ -4,7 +4,7 @@
"license": "SEE LICENSE IN LICENSE.md",
"scripts": {
"test": "vitest src/rendering --run && vitest src/monorepo --run",
- "testssr": "node --max_old_space_size=8192 node_modules/vitest/vitest.mjs src/ssr src/bundle --run --fileParallelism=false",
+ "testssr": "node --max_old_space_size=8192 node_modules/vitest/vitest.mjs src/ssr src/bundle --run",
"testlambda": "vitest src/lambda --run"
},
"private": true,
diff --git a/packages/it-tests/src/bundle/bundle-studio.test.ts b/packages/it-tests/src/bundle/bundle-studio.test.ts
index e762b83655..aba5095235 100644
--- a/packages/it-tests/src/bundle/bundle-studio.test.ts
+++ b/packages/it-tests/src/bundle/bundle-studio.test.ts
@@ -7,18 +7,14 @@ test("Bundle studio", async () => {
await execa("pnpm", ["exec", "remotion", "bundle"], {
cwd: path.join(process.cwd(), "..", "example"),
});
- const selectedPort = RenderInternals.getDesiredPort({
- desiredPort: undefined,
- from: 3000,
- to: 3100,
- hostsToTry: ["::", "::1"],
- });
+
const browser = openBrowser("chrome");
+
const tab = await (await browser).newPage(() => null, "info", false);
const { port, close } = await RenderInternals.serveStatic(
path.join(process.cwd(), "..", "example", "build"),
{
- port: (await selectedPort).port,
+ port: null,
concurrency: 1,
downloadMap: RenderInternals.makeDownloadMap(),
indent: false,