File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 103103 " src/favicon.ico" ,
104104 " src/assets"
105105 ],
106+ "stylePreprocessorOptions" : {
107+ "includePaths" : [
108+ " src/assets/scss"
109+ ]
110+ },
106111 "styles" : [
107112 " src/styles.scss"
108113 ],
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ module.exports = function (config) {
1010 require ( 'karma-chrome-launcher' ) ,
1111 require ( 'karma-jasmine-html-reporter' ) ,
1212 require ( 'karma-coverage' ) ,
13- require ( '@angular-devkit/build-angular/plugins/karma' )
13+ require ( '@angular-devkit/build-angular/plugins/karma' ) ,
14+ require ( 'karma-mocha-reporter' ) ,
1415 ] ,
1516 client : {
1617 jasmine : {
@@ -32,12 +33,18 @@ module.exports = function (config) {
3233 { type : 'text-summary' }
3334 ]
3435 } ,
35- reporters : [ 'progress' , 'kjhtml '] ,
36+ reporters : [ 'mocha ' ] ,
3637 port : 9876 ,
3738 colors : true ,
3839 logLevel : config . LOG_INFO ,
3940 autoWatch : true ,
40- browsers : [ 'Chrome' ] ,
41+ browsers : [ 'ChromeHeadless' ] ,
42+ customLaunchers : {
43+ ChromeHeadlessCI : {
44+ base : 'ChromeHeadless' ,
45+ flags : [ '--no-sandbox' ]
46+ }
47+ } ,
4148 singleRun : false ,
4249 restartOnFileChange : true
4350 } ) ;
You can’t perform that action at this time.
0 commit comments