@@ -9,16 +9,25 @@ module.exports = function (config) {
9
9
require ( "karma-jasmine" ) ,
10
10
require ( "karma-chrome-launcher" ) ,
11
11
require ( "karma-jasmine-html-reporter" ) ,
12
- require ( "karma-coverage-istanbul-reporter " ) ,
12
+ require ( "karma-coverage" ) ,
13
13
require ( "@angular-devkit/build-angular/plugins/karma" ) ,
14
14
] ,
15
15
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
+ } ,
16
22
clearContext : false , // leave Jasmine Spec Runner output visible in browser
17
23
} ,
18
- coverageIstanbulReporter : {
19
- dir : require ( "path" ) . join ( __dirname , "../coverage/ng-tabler" ) ,
20
- reports : [ "html" , "lcovonly" , "text-summary" ] ,
21
- fixWebpackSourcePaths : true ,
24
+ jasmineHtmlReporter : {
25
+ suppressAll : true , // removes the duplicated traces
26
+ } ,
27
+ coverageReporter : {
28
+ dir : require ( "path" ) . join ( __dirname , "./coverage/demo-angular" ) ,
29
+ subdir : "." ,
30
+ reporters : [ { type : "html" } , { type : "text-summary" } ] ,
22
31
} ,
23
32
reporters : [ "progress" , "kjhtml" ] ,
24
33
port : 9876 ,
0 commit comments