Skip to content

Commit 0e9cb22

Browse files
clydinvikerman
authored andcommitted
test: ensure add material test has clean material package (#13548)
1 parent f8e873b commit 0e9cb22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
import { expectFileToMatch } from '../../../utils/fs';
1+
import { expectFileToMatch, rimraf } from '../../../utils/fs';
22
import { ng } from '../../../utils/process';
33

44

55
export default async function () {
6+
// forcibly remove in case another test doesn't clean itself up
7+
await rimraf('node_modules/@angular/material');
8+
69
await ng('add', '@angular/material');
710
await expectFileToMatch('package.json', /@angular\/material/);
811
}

0 commit comments

Comments
 (0)