Matrix/Webserver/playwright.config.ts

13 lines
275 B
TypeScript
Raw Normal View History

2023-11-23 12:22:59 +00:00
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run build && npm run preview',
port: 4173
},
2023-11-23 12:24:38 +00:00
testDir: 'src/playwright',
2023-11-23 12:22:59 +00:00
testMatch: /(.+\.)?(test|spec)\.[jt]s/
};
export default config;