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

14 lines
332 B
TypeScript

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