Skip to content

Commit c5f199c

Browse files
committed
feat: no double build
1 parent 0df09bc commit c5f199c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

playwright.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { devices } from '@playwright/test';
33
/** @type {import('@playwright/test').PlaywrightTestConfig} */
44
const config = {
55
webServer: {
6-
command: 'bash -lc "bun run build && bun run preview -- --host 0.0.0.0 --port 4173 --strictPort"',
6+
// Requires: bun run build
7+
command: 'bun run preview -- --host 0.0.0.0 --port 4173 --strictPort',
78
url: 'http://localhost:4173',
89
reuseExistingServer: !process.env.CI,
910
timeout: 180 * 1000 // 3 minutes timeout for web server startup

0 commit comments

Comments
 (0)