Skip to content

Commit 124fca9

Browse files
committed
test(@angular/cli): remove package manager check from npm 7 E2E
E2E tests on this branch are only run with npm and the used utility functions do not exist.
1 parent be9bf4f commit 124fca9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
import { getActivePackageManager } from '../../utils/packages';
21
import { ng, npm } from '../../utils/process';
32
import { expectToFail } from '../../utils/utils';
43

54
const errorText = 'The Angular CLI currently requires npm version 6.';
65

76
export default async function() {
8-
// Only relevant with npm as a package manager
9-
if (getActivePackageManager() !== 'npm') {
10-
return;
11-
}
12-
137
// Windows CI fails with permission errors when trying to replace npm
148
if (process.platform.startsWith('win')) {
159
return;

0 commit comments

Comments
 (0)