Skip to content

Commit ab6bb1d

Browse files
committed
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
1 parent e0e25cc commit ab6bb1d

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
@@ -25,11 +25,6 @@ export default async function () {
2525
throw new Error('Installation was not skipped');
2626
}
2727

28-
const output2 = await ng('add', '@angular/localize@latest', '--skip-confirmation');
29-
if (output2.stdout.includes('Skipping installation: Package already installed')) {
30-
throw new Error('Installation should not have been skipped');
31-
}
32-
3328
// v12.2.0 has a package.json engine field that supports Node.js v16+
3429
const output3 = await ng('add', '@angular/[email protected]', '--skip-confirmation');
3530
if (output3.stdout.includes('Skipping installation: Package already installed')) {

0 commit comments

Comments
 (0)