Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef7d390

Browse files
committed
Fix coverage error
1 parent 717a69b commit ef7d390

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"publish angular-editor": "npm run copy && npm publish ./dist/angular-editor",
1313
"test angular-editor": "ng test angular-editor",
1414
"copy": "copy \"./README.md\" \"dist/angular-editor/\"",
15-
"test-ci": "ng test angular-editor --watch=false --browsers=ChromeHeadless --code-coverage && cat ./coverage/lcov.info | coveralls"
15+
"test-ci": "ng test angular-editor --code-coverage --watch=false --browsers=ChromeHeadless && cat ./coverage/angular-editor/lcov.info | coveralls"
1616
},
1717
"private": true,
1818
"dependencies": {

projects/angular-editor/karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ module.exports = function (config) {
1616
clearContext: false // leave Jasmine Spec Runner output visible in browser
1717
},
1818
coverageIstanbulReporter: {
19-
dir: require('path').join(__dirname, '../../../coverage/kolkov/angular-editor'),
20-
reports: ['html', 'lcovonly'],
19+
dir: require('path').join(__dirname, '../../coverage/angular-editor'),
20+
reports: ['html', 'lcovonly', 'text-summary'],
2121
fixWebpackSourcePaths: true
2222
},
2323
reporters: ['progress', 'kjhtml'],

0 commit comments

Comments
 (0)