@@ -29,10 +29,11 @@ export default async function () {
29
29
await replaceInFile ( 'src/app/app.component.ts' , './app.component.css' , './app.component.scss' ) ;
30
30
31
31
await silentExec ( 'rm' , '-rf' , 'node_modules/node-sass' ) ;
32
+ await silentExec ( 'rm' , '-rf' , 'node_modules/sass' ) ;
32
33
await expectToFail ( ( ) => ng ( 'build' , '--extract-css' , '--source-map' ) ) ;
33
34
34
- await silentNpm ( 'install' , 'sass' ) ;
35
- await silentExec ( 'rm' , '-rf' , 'node_modules/node- sass' ) ;
35
+ await silentNpm ( 'install' , 'node- sass' ) ;
36
+ await silentExec ( 'rm' , '-rf' , 'node_modules/sass' ) ;
36
37
await ng ( 'build' , '--extract-css' , '--source-map' ) ;
37
38
38
39
await expectFileToMatch ( 'dist/test-project/styles.css' , / b o d y \s * { \s * b a c k g r o u n d - c o l o r : b l u e ; \s * } / ) ;
@@ -42,6 +43,7 @@ export default async function () {
42
43
43
44
await silentNpm ( 'install' , 'node-gyp' ) ;
44
45
await silentNpm ( 'install' , 'fibers' ) ;
46
+ await silentNpm ( 'install' , 'sass' ) ;
45
47
await silentExec ( 'rm' , '-rf' , 'node_modules/node-sass' ) ;
46
48
await ng ( 'build' , '--extract-css' , '--source-map' ) ;
47
49
0 commit comments