Skip to content

Commit

Permalink
chore(repo): set INIT_CWD to undefined in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Sep 21, 2023
1 parent e9f45e2 commit ad34bf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/utils/command-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export function runCommand(
...getStrippedEnvironmentVariables(),
...childProcessOptions?.env,
FORCE_COLOR: 'false',
INIT_CWD: undefined,
},
encoding: 'utf-8',
...childProcessOptions,
Expand Down Expand Up @@ -348,6 +349,7 @@ export function runCLI(
env: {
CI: 'true',
...getStrippedEnvironmentVariables(),
INIT_CWD: undefined,
...opts.env,
},
encoding: 'utf-8',
Expand Down
1 change: 1 addition & 0 deletions e2e/utils/create-project-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export function runCreateWorkspace(
CI: 'true',
NX_VERBOSE_LOGGING: isCI ? 'true' : 'false',
...process.env,
INIT_CWD: undefined,
},
encoding: 'utf-8',
});
Expand Down

0 comments on commit ad34bf2

Please sign in to comment.