Skip to content

Commit 3398466

Browse files
author
cod1k
committed
Simplify startCommand configuration in Playwright config.
Removed redundant ternary logic as both conditions resolve to the same command. This change improves code readability and eliminates unnecessary complexity in the configuration.
1 parent d9373a5 commit 3398466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-packages/e2e-tests/test-applications/cloudflare-workers/playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (!testEnv) {
77

88
const config = getPlaywrightConfig(
99
{
10-
startCommand: testEnv === 'development' ? 'pnpm dev' : 'pnpm dev',
10+
startCommand: 'pnpm dev',
1111
port: 8787,
1212
},
1313
{

0 commit comments

Comments
 (0)