Skip to content

Commit

Permalink
fix(playwright): nxE2EPreset fails when no options are passed
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz committed Aug 20, 2023
1 parent 7d4e2fe commit 1916267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playwright/src/utils/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export function nxE2EPreset(
}

return defineConfig({
testDir: options.testDir ?? './src',
testDir: options?.testDir ?? './src',
outputDir: testResultOuputDir,
/* Run tests in files in parallel */
fullyParallel: true,
Expand Down

0 comments on commit 1916267

Please sign in to comment.