mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 09:23:50 -08:00
12 lines
271 B
TypeScript
12 lines
271 B
TypeScript
import type { PlaywrightTestConfig } from '@playwright/test'
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
webServer: {
|
|
command: 'npm run build && npm run preview',
|
|
port: 4173
|
|
},
|
|
testDir: 'tests',
|
|
testMatch: /(.+\.)?(test|spec)\.[jt]s/
|
|
}
|
|
|
|
export default config
|