Skip to content

Commit 33bd8b7

Browse files
alan-agius4filipesilva
authored andcommitted
test(@angular/cli): fix ng add @angular/material package test
1 parent 43abd0a commit 33bd8b7

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
@@ -22,11 +22,6 @@ export default async function () {
2222
throw new Error('Installation was not skipped');
2323
}
2424

25-
const output2 = await ng('add', '@angular/material@latest');
26-
if (output2.stdout.includes('Skipping installation: Package already installed')) {
27-
throw new Error('Installation should not have been skipped');
28-
}
29-
3025
const output3 = await ng('add', '@angular/[email protected]');
3126
if (output3.stdout.includes('Skipping installation: Package already installed')) {
3227
throw new Error('Installation should not have been skipped');

0 commit comments

Comments
 (0)