I cannot configure angular-cli + scss + karma to test my components together. Running ng test the kamra unit tests are only including the components\' own scss
ng test
If you use Bootstrap-sass, You should describe karma.conf.js
preprocessors : { './src/test.ts': [ '@angular/cli' ], './node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss': [ 'scss' ], './src/*.scss': [ 'scss' ] },
It is important write order that bootstrap is faster than your file.