site/playwright.config.ts

13 lines
271 B
TypeScript
Raw Permalink Normal View History

import type { PlaywrightTestConfig } from '@playwright/test'
2024-04-02 17:35:26 -07:00
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run build && npm run preview',
port: 4173
},
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
}
2024-04-02 17:35:26 -07:00
export default config