diff options
Diffstat (limited to 'code/frontend/playwright.config.ts')
| -rw-r--r-- | code/frontend/playwright.config.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/code/frontend/playwright.config.ts b/code/frontend/playwright.config.ts new file mode 100644 index 0000000..30e57ee --- /dev/null +++ b/code/frontend/playwright.config.ts @@ -0,0 +1,12 @@ +import type { PlaywrightTestConfig } from '@playwright/test'; + +const config: PlaywrightTestConfig = { + webServer: { + command: 'bun run build && bun run preview', + port: 4173 + }, + testDir: 'tests', + testMatch: /(.+\.)?(test|spec)\.[jt]s/ +}; + +export default config; |
