Skyler Grey | 51e9e63 | 2023-06-03 10:20:11 +0200 | [diff] [blame] | 1 | import type { PlaywrightTestConfig } from '@playwright/test'; |
2 | |||||
3 | const config: PlaywrightTestConfig = { | ||||
4 | webServer: { | ||||
5 | command: 'npm run build && npm run preview', | ||||
6 | port: 4173 | ||||
7 | }, | ||||
8 | testDir: 'tests', | ||||
9 | testMatch: /(.+\.)?(test|spec)\.[jt]s/ | ||||
10 | }; | ||||
11 | |||||
12 | export default config; |