From d3c7e6ef9b070569ba5942185649cbc6a4828284 Mon Sep 17 00:00:00 2001 From: "Castro, Mario" Date: Thu, 5 Dec 2024 15:42:52 -0300 Subject: [PATCH] Fix broken project CLI tests --- .../provider-unaware/cli/cli.project.integration.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/framework-integration-tests/integration/provider-unaware/cli/cli.project.integration.ts b/packages/framework-integration-tests/integration/provider-unaware/cli/cli.project.integration.ts index 4a6f2b1d3..7dcd2b911 100644 --- a/packages/framework-integration-tests/integration/provider-unaware/cli/cli.project.integration.ts +++ b/packages/framework-integration-tests/integration/provider-unaware/cli/cli.project.integration.ts @@ -115,8 +115,7 @@ describe('Project', () => { flags: Array = [], promptAnswers?: PromptAnswers ): Promise<{ stdout: string; stderr: string }> => { - const cleanFlags = flags.map((flag) => flag.replace(/^["'](.+)["']$/, '$1')) - const cliProcess = execa(cliPath, ['new:project', projectName, ...cleanFlags], { + const cliProcess = execa(cliPath, ['new:project', projectName, ...flags], { cwd: SANDBOX_INTEGRATION_DIR, shell: true, })