Skip to content

Commit

Permalink
Exclude tests and config files in test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtWagner committed Jun 3, 2021
1 parent a16c0b9 commit e296bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -11,8 +11,8 @@
"repository": "github:KurtWagner/bitbucket-toolbox",
"scripts": {
"test": "eslint . && mocha lib/*.js lib/*/**.js tests/**/*.js",
"coveralls": "nyc --all --reporter=lcovonly mocha lib/*.js lib/*/**.js tests/**/*.js && cat ./coverage/lcov.info | coveralls",
"cover": "nyc --all --reporter=text mocha lib/*.js lib/*/**.js tests/**/*.js",
"coveralls": "nyc --all --exclude=tests/ --exclude=**/*.spec.js --exclude=.* --reporter=lcovonly mocha lib/*.js lib/*/**.js tests/**/*.js && cat ./coverage/lcov.info | coveralls",
"cover": "nyc --all --exclude=tests/ --exclude=**/*.spec.js --exclude=.* --reporter=text mocha lib/*.js lib/*/**.js tests/**/*.js",
"precommit": "lint-staged"
},
"engines": {
Expand Down

0 comments on commit e296bdc

Please sign in to comment.