From 0f24265f4ace86bdccbffb5eee5a0c87ed386475 Mon Sep 17 00:00:00 2001 From: Shahar Kazaz Date: Mon, 21 Aug 2023 19:17:45 +0300 Subject: [PATCH] fix(testing): make playwright nxE2EPreset options optional --- packages/playwright/src/utils/preset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright/src/utils/preset.ts b/packages/playwright/src/utils/preset.ts index 0d851dc955fec..84b5a8a9395b1 100644 --- a/packages/playwright/src/utils/preset.ts +++ b/packages/playwright/src/utils/preset.ts @@ -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,