Skip to content

Commit

Permalink
remove coverage reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Jul 21, 2023
1 parent 5b43d38 commit a28fc78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ module.exports = function configureKarma(config) {
bare: true,
transform: [ browserifyIstanbul({ ignore: [ '**/node_modules/**', '**/test/**' ] }) ],
},
reporters: [ 'progress', 'coverage' ],
coverageReporter: {
type: 'lcov',
dir: 'coverage',
},
reporters: [ 'progress' ],
port: 9876,
colors: true,
concurrency: 3,
Expand Down
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@
"prepublish": "npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"pretest": "npm run lint",
"test": "npm run test:node && npm run test:browser && npm run upload-coverage",
"test": "npm run test:node && npm run test:browser",
"test:browser": "karma start --singleRun=true",
"test:node": "nyc mocha",
"upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0"
"test:node": "nyc mocha"
},
"config": {
"ghooks": {
Expand All @@ -54,18 +53,15 @@
"devDependencies": {
"browserify": "^17.0.0",
"browserify-istanbul": "^3.0.1",
"coveralls": "^3.1.0",
"eslint": "^7.13.0",
"eslint-config-strict": "^14.0.1",
"eslint-plugin-filenames": "^1.3.2",
"ghooks": "^2.0.4",
"karma": "^5.2.3",
"karma-browserify": "^7.0.0",
"karma-coverage": "^2.0.3",
"karma-mocha": "^2.0.1",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sauce-launcher": "^4.3.3",
"lcov-result-merger": "^3.1.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"phantomjs-prebuilt": "^2.1.16",
Expand Down

0 comments on commit a28fc78

Please sign in to comment.