Skip to content

Commit

Permalink
chore(repo): use npx on e2e ng calls to fix windows failures (#9078)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Feb 22, 2022
1 parent 5d9176e commit 0a62f1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/jest/src/jest.test.ts
Expand Up @@ -108,5 +108,5 @@ describe('Jest', () => {
expect(cliResults.combinedOutput).toContain(
'Test Suites: 1 passed, 1 total'
);
});
}, 90000);
});
2 changes: 1 addition & 1 deletion e2e/utils/index.ts
Expand Up @@ -424,7 +424,7 @@ export function runNgAdd(
): string {
try {
packageInstall('@nrwl/workspace');
return execSync(`./node_modules/.bin/ng add @nrwl/workspace ${command}`, {
return execSync(`npx ng add @nrwl/workspace ${command}`, {
cwd: tmpProjPath(),
env: { ...(opts.env || process.env), NX_INVOKED_BY_RUNNER: undefined },
encoding: 'utf-8',
Expand Down

0 comments on commit 0a62f1f

Please sign in to comment.