Skip to content

Commit de534b2

Browse files
committed
test(@angular/cli): disable NPM 7 with Node v10 test
NPM 7 doesn't support Node v10, so this test will always fail. (cherry picked from commit 3230d0f)
1 parent 054d776 commit de534b2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ export default async function() {
1010
return;
1111
}
1212

13+
// NPM 7 doesn't support Node v10.
14+
if (process.version.startsWith('v10')) {
15+
return;
16+
}
17+
1318
const currentDirectory = process.cwd();
1419
try {
1520
// Install version >=7.5.6

0 commit comments

Comments
 (0)