Skip to content

Commit 0bb2d68

Browse files
committed
fix(test): adds --strictPort to prevent silent port rebinding
1 parent 22ccbda commit 0bb2d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default defineConfig({
1616
},
1717
],
1818
webServer: {
19-
command: `pnpm exec vite dev --port ${port}`,
19+
command: `pnpm exec vite dev --port ${port} --strictPort`,
2020
url: `http://localhost:${port}`,
2121
timeout: 120_000,
2222
reuseExistingServer: !process.env.CI,

0 commit comments

Comments
 (0)