Skip to content

Commit 23150ab

Browse files
alan-agius4filipesilva
authored andcommitted
test(@angular/cli): fix ng add @angular/material package test
1 parent c252968 commit 23150ab

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/legacy-cli/e2e/tests/commands/add/add-material.ts

Lines changed: 0 additions & 5 deletions
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/material@latest');
29-
if (output2.stdout.includes('Skipping installation: Package already installed')) {
30-
throw new Error('Installation should not have been skipped');
31-
}
32-
3328
const output3 = await ng('add', '@angular/[email protected]');
3429
if (output3.stdout.includes('Skipping installation: Package already installed')) {
3530
throw new Error('Installation should not have been skipped');

0 commit comments

Comments
 (0)