Skip to content

Commit

Permalink
fix(testing): make playwright nxE2EPreset options optional (#18729)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7024108)
  • Loading branch information
shaharkazaz authored and FrozenPandaz committed Aug 21, 2023
1 parent 8e6dcd2 commit 45b2cee
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 45b2cee

Please # to comment.