konowebcodecs/apps/sveltekit-app/playwright.config.ts
Wesley ae1cdac7db
Add SvelteKit Example (#684)
* Add SvelteKit Example

* package-lock.json
2024-03-07 22:08:44 +08:00

13 lines
266 B
TypeScript

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;