We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e873b commit 0e9cb22Copy full SHA for 0e9cb22
tests/legacy-cli/e2e/tests/commands/add/add-material.ts
@@ -1,8 +1,11 @@
1
-import { expectFileToMatch } from '../../../utils/fs';
+import { expectFileToMatch, rimraf } from '../../../utils/fs';
2
import { ng } from '../../../utils/process';
3
4
5
export default async function () {
6
+ // forcibly remove in case another test doesn't clean itself up
7
+ await rimraf('node_modules/@angular/material');
8
+
9
await ng('add', '@angular/material');
10
await expectFileToMatch('package.json', /@angular\/material/);
11
}
0 commit comments