@@ -10,7 +10,9 @@ module.exports = function (config) {
1010 require ( "karma-chrome-launcher" ) ,
1111 require ( "karma-jasmine-html-reporter" ) ,
1212 require ( "karma-coverage" ) ,
13+ require ( "karma-coverage-istanbul-reporter" ) ,
1314 require ( "@angular-devkit/build-angular/plugins/karma" ) ,
15+ require ( "karma-spec-reporter" )
1416 ] ,
1517 client : {
1618 jasmine : {
@@ -19,15 +21,15 @@ module.exports = function (config) {
1921 // for example, you can disable the random execution with `random: false`
2022 // or set a specific seed with `seed: 4321`
2123 } ,
22- clearContext : false , // leave Jasmine Spec Runner output visible in browser
24+ clearContext : false // leave Jasmine Spec Runner output visible in browser
2325 } ,
2426 jasmineHtmlReporter : {
25- suppressAll : true , // removes the duplicated traces
27+ suppressAll : true // removes the duplicated traces
2628 } ,
2729 coverageReporter : {
2830 dir : require ( "path" ) . join ( __dirname , "../../coverage/demo" ) ,
2931 subdir : "." ,
30- reporters : [ { type : "html" } , { type : "text-summary" } ] ,
32+ reporters : [ { type : "html" } , { type : "text-summary" } ]
3133 } ,
3234 reporters : [ "progress" , "kjhtml" ] ,
3335 port : 9876 ,
@@ -36,6 +38,6 @@ module.exports = function (config) {
3638 autoWatch : true ,
3739 browsers : [ "Chrome" ] ,
3840 singleRun : false ,
39- restartOnFileChange : true ,
41+ restartOnFileChange : true
4042 } ) ;
4143} ;
0 commit comments