Skip to content

Commit 8a691f7

Browse files
committed
fix: update Playwright config to include node types and specify server port
1 parent 40e7048 commit 8a691f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/web/playwright.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/// <reference types="node" />
12
import { defineConfig, devices } from '@playwright/test';
23

34
const BASE_URL = 'http://localhost:5173/editor.html';
@@ -24,7 +25,7 @@ export default defineConfig({
2425
},
2526
],
2627
webServer: {
27-
command: 'npx vite --mode test',
28+
command: 'npx vite --port 5173 --strictPort --mode test',
2829
url: BASE_URL,
2930
reuseExistingServer: !process.env.CI,
3031
},

0 commit comments

Comments
 (0)