mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Run svelte sync in playwright
This commit is contained in:
parent
ba55c896b9
commit
60f53e84ed
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ import type { PlaywrightTestConfig } from '@playwright/test';
|
|||
|
||||
const config: PlaywrightTestConfig = {
|
||||
webServer: {
|
||||
command: 'pnpm run build && pnpm run preview',
|
||||
command: 'pnpm -s exec svelte-kit sync && pnpm run build && pnpm run preview',
|
||||
port: 4173,
|
||||
timeout: 180_000,
|
||||
reuseExistingServer: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue