Skip to content

Commit 87277d9

Browse files
alan-agius4dgp1130
authored andcommitted
test(@angular/cli): update NPM range in npm-7 test
With the previous range NPM 9 was being installed which is not compatible with the version of node that Angular version 13 supports.
1 parent 21cea0b commit 87277d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/legacy-cli/e2e/tests/misc/npm-7.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ export default async function () {
4545
}
4646

4747
try {
48-
// Install version >=7.5.6
49-
await npm('install', '--global', 'npm@>=7.5.6');
48+
// Install version ^7.5.6
49+
await npm('install', '--global', 'npm@^7.5.6');
5050

5151
// Ensure `ng update` does not show npm warning
5252
const { stderr: stderrUpdate1 } = await ng('update', ...extraArgs);

0 commit comments

Comments
 (0)