Run svelte sync in playwright

This commit is contained in:
Bradley Shellnut 2025-08-24 21:45:06 -07:00
parent ba55c896b9
commit 60f53e84ed

View file

@ -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