Skip to content

Commit

Permalink
Fix broken project CLI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Castro, Mario committed Dec 5, 2024
1 parent c9cb82e commit d3c7e6e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ describe('Project', () => {
flags: Array<string> = [],
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,
})
Expand Down

0 comments on commit d3c7e6e

Please sign in to comment.