chore(tests): cleanup playwright configs

This commit is contained in:
moklick
2023-11-08 18:13:57 +01:00
parent d82a54fa5b
commit 434590543d
12 changed files with 18 additions and 27 deletions

View File

@@ -1,13 +1,4 @@
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,
},
});
export default defineConfig(sharedConfigWithPort({ port: 3000, framework: 'react' }));