12 lines
305 B
TypeScript
12 lines
305 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
use: { baseURL: 'http://127.0.0.1:4173' },
|
|
webServer: {
|
|
command: 'pnpm build && pnpm exec vite preview --host 127.0.0.1 --port 4173',
|
|
port: 4173,
|
|
reuseExistingServer: !process.env.CI
|
|
}
|
|
})
|