We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aec7488 commit c67c4e9Copy full SHA for c67c4e9
2 files changed
angular.json
@@ -144,6 +144,7 @@
144
"builder": "@angular-devkit/build-angular:karma",
145
"options": {
146
"main": "projects/angular-cld/src/test.ts",
147
+ "codeCoverage": true,
148
"tsConfig": "projects/angular-cld/tsconfig.spec.json",
149
"karmaConfig": "projects/angular-cld/karma.conf.js"
150
}
projects/angular-cld/karma.conf.js
@@ -19,7 +19,13 @@ module.exports = function (config) {
19
coverageIstanbulReporter: {
20
dir: require('path').join(__dirname, '../../coverage'),
21
reports: ['html', 'lcovonly'],
22
- fixWebpackSourcePaths: true
+ fixWebpackSourcePaths: true,
23
+ thresholds: {
24
+ statements: 80,
25
+ lines: 80,
26
+ branches: 80,
27
+ functions: 80
28
+ }
29
},
30
reporters: ['progress', 'kjhtml'],
31
port: 9876,
0 commit comments