Skip to content

Commit 7eac5a4

Browse files
alan-agius4dgp1130
authored andcommitted
test(@angular/cli): fix version specifier test
Remove `ng add @angular/localize@latest` test. This is currently failing as `@angular/localize@latest` does not support Node.js version 14.15 (cherry picked from commit ab6bb1d)
1 parent e8824b0 commit 7eac5a4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/legacy-cli/e2e/tests/commands/add/version-specifier.ts

-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ export default async function () {
1717
throw new Error('Installation was not skipped');
1818
}
1919

20-
const output2 = await ng('add', '@angular/localize@latest', '--skip-confirmation');
21-
if (output2.stdout.includes('Skipping installation: Package already installed')) {
22-
throw new Error('Installation should not have been skipped');
23-
}
24-
2520
// v12.2.0 has a package.json engine field that supports Node.js v16+
2621
const output3 = await ng('add', '@angular/[email protected]', '--skip-confirmation');
2722
if (output3.stdout.includes('Skipping installation: Package already installed')) {

0 commit comments

Comments
 (0)