Commit 545fa61c authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Added code coverage.

No related merge requests found
Showing with 4 additions and 2 deletions
+4 -2
/node_modules/ /node_modules/
/dist/ /dist/
/coverage/
/.idea/
...@@ -16,7 +16,7 @@ module.exports = function (config) { ...@@ -16,7 +16,7 @@ module.exports = function (config) {
clearContext: false // leave Jasmine Spec Runner output visible in browser clearContext: false // leave Jasmine Spec Runner output visible in browser
}, },
coverageIstanbulReporter: { coverageIstanbulReporter: {
dir: require('path').join(__dirname, '../../coverage/error-types'), dir: __dirname + '/coverage/error-types',
reports: ['html', 'lcovonly', 'text-summary'], reports: ['html', 'lcovonly', 'text-summary'],
fixWebpackSourcePaths: true fixWebpackSourcePaths: true
}, },
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
}, },
"scripts": { "scripts": {
"build": "ng build", "build": "ng build",
"test": "ng test", "test": "ng test --code-coverage --no-watch --no-progress",
"lint": "ng lint", "lint": "ng lint",
"package": "ng-packagr" "package": "ng-packagr"
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment