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 144144 "builder" : " @angular-devkit/build-angular:karma" ,
145145 "options" : {
146146 "main" : " projects/angular-cld/src/test.ts" ,
147+ "codeCoverage" : true ,
147148 "tsConfig" : " projects/angular-cld/tsconfig.spec.json" ,
148149 "karmaConfig" : " projects/angular-cld/karma.conf.js"
149150 }
Original file line number Diff line number Diff line change @@ -19,7 +19,13 @@ module.exports = function (config) {
1919 coverageIstanbulReporter : {
2020 dir : require ( 'path' ) . join ( __dirname , '../../coverage' ) ,
2121 reports : [ 'html' , 'lcovonly' ] ,
22- fixWebpackSourcePaths : true
22+ fixWebpackSourcePaths : true ,
23+ thresholds : {
24+ statements : 80 ,
25+ lines : 80 ,
26+ branches : 80 ,
27+ functions : 80
28+ }
2329 } ,
2430 reporters : [ 'progress' , 'kjhtml' ] ,
2531 port : 9876 ,
You can’t perform that action at this time.
0 commit comments