Files
xyflow/tests/playwright/playwright.svelte.config.ts
2023-10-24 16:49:55 +02:00

14 lines
348 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
import { sharedConfigWithPort } from './playwright.shared.config';
const port = 5173;
export default defineConfig({
...sharedConfigWithPort(port),
webServer: {
command: 'cd ../../examples/svelte && pnpm run dev',
port: port,
reuseExistingServer: !process.env.CI,
},
});