Skip to content

Commit 7e4731b

Browse files
committed
Update test config
1 parent 68e64d0 commit 7e4731b

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

playwright.config.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
/** @type {import('@playwright/test').PlaywrightTestConfig} */
2-
const config = {
1+
import { defineConfig } from '@playwright/test'
2+
3+
export default defineConfig({
4+
testDir: 'tests',
5+
testMatch: '**/*.js',
6+
use: {
7+
baseURL: 'http://localhost:5173'
8+
},
39
webServer: {
410
command: 'npm run dev',
5-
port: 5173,
11+
url: 'http://localhost:5173',
612
reuseExistingServer: true
7-
},
8-
testDir: 'tests'
9-
}
10-
11-
export default config
13+
}
14+
})

0 commit comments

Comments
 (0)