@@ -9,23 +9,41 @@ module.exports = function (config) {
99 require ( 'karma-jasmine' ) ,
1010 require ( 'karma-chrome-launcher' ) ,
1111 require ( 'karma-jasmine-html-reporter' ) ,
12- require ( 'karma-coverage-istanbul-reporter ' ) ,
12+ require ( 'karma-coverage' ) ,
1313 require ( '@angular-devkit/build-angular/plugins/karma' )
1414 ] ,
1515 client : {
16+ jasmine : {
17+ // you can add configuration options for Jasmine here
18+ // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19+ // for example, you can disable the random execution with `random: false`
20+ // or set a specific seed with `seed: 4321`
21+ } ,
1622 clearContext : false // leave Jasmine Spec Runner output visible in browser
1723 } ,
18- coverageIstanbulReporter : {
24+ jasmineHtmlReporter : {
25+ suppressAll : true // removes the duplicated traces
26+ } ,
27+ coverageReporter : {
1928 dir : require ( 'path' ) . join ( __dirname , './coverage/ngx-select-ex' ) ,
20- reports : [ 'html' , 'lcovonly' , 'text-summary' ] ,
21- fixWebpackSourcePaths : true
29+ subdir : '.' ,
30+ reporters : [
31+ { type : 'html' } ,
32+ { type : 'text-summary' }
33+ ]
2234 } ,
2335 reporters : [ 'progress' , 'kjhtml' ] ,
2436 port : 9876 ,
2537 colors : true ,
2638 logLevel : config . LOG_INFO ,
2739 autoWatch : true ,
2840 browsers : [ 'Chrome' ] ,
41+ customLaunchers : {
42+ ChromeHeadlessNoSandbox : {
43+ base : 'ChromeHeadless' ,
44+ flags : [ '--no-sandbox' ]
45+ }
46+ } ,
2947 singleRun : false ,
3048 restartOnFileChange : true
3149 } ) ;
0 commit comments