Skip to content

Commit

Permalink
build(coverage): add coverage step to test:jest task
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-korolev committed Jun 27, 2018
1 parent a0ee135 commit 0bbd288
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
33 changes: 33 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "npm run test:lint && npm run test:jest && npm run test:size",
"test:size": "npm run build && size-limit",
"test:lint": "tslint -t verbose './src/**/*.ts' './src/**/*.tsx' -p ./tsconfig.json -c ./tslint.json",
"test:jest": "jest --runInBand",
"test:jest": "jest --runInBand --coverage --coverageReporters=text-lcov | coveralls",
"precommit": "lint-staged",
"prepush": "npm run test",
"prepublishOnly": "npm run build"
Expand Down Expand Up @@ -86,6 +86,7 @@
"@types/jest": "^23.1.0",
"@types/node": "^10.3.3",
"commitizen": "^2.10.1",
"coveralls": "^3.0.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"jest": "^23.1.0",
Expand Down

0 comments on commit 0bbd288

Please sign in to comment.