ily.li/playwright.config.ts

13 lines
266 B
TypeScript
Raw Normal View History

2023-08-07 17:16:44 +02:00
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;