File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 144
144
"builder" : " @angular-devkit/build-angular:karma" ,
145
145
"options" : {
146
146
"main" : " projects/angular-cld/src/test.ts" ,
147
+ "codeCoverage" : true ,
147
148
"tsConfig" : " projects/angular-cld/tsconfig.spec.json" ,
148
149
"karmaConfig" : " projects/angular-cld/karma.conf.js"
149
150
}
Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ module.exports = function (config) {
19
19
coverageIstanbulReporter : {
20
20
dir : require ( 'path' ) . join ( __dirname , '../../coverage' ) ,
21
21
reports : [ 'html' , 'lcovonly' ] ,
22
- fixWebpackSourcePaths : true
22
+ fixWebpackSourcePaths : true ,
23
+ thresholds : {
24
+ statements : 80 ,
25
+ lines : 80 ,
26
+ branches : 80 ,
27
+ functions : 80
28
+ }
23
29
} ,
24
30
reporters : [ 'progress' , 'kjhtml' ] ,
25
31
port : 9876 ,
You can’t perform that action at this time.
0 commit comments