Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

playwright.config.ts

14 lines393 Bytes

1import { defineConfig } from '@playwright/test'
2​
3export default defineConfig({
4 testDir: './tests',
5 use: { baseURL: 'http://localhost:3110', browserName: 'chromium' },
6 webServer: {
7 command:
8 process.env.QUERY_EXAMPLE_PRODUCTION === '1'
9 ? 'PORT=3110 pnpm start'
10 : 'pnpm dev --port 3110',
11 url: 'http://localhost:3110/preferences',
12 timeout: 120_000,
13 },
14})