Skip to content

Commit

Permalink
added test coverage info
Browse files Browse the repository at this point in the history
  • Loading branch information
ldgit committed Dec 15, 2018
1 parent a38d225 commit f6052a2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
coverage
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_js:
- "11"
script:
- npm run test:all
after_success: npm run coverage
40 changes: 40 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint ./",
"test:all": "npm run lint && npm t"
"test:all": "npm run lint && npm t",
"coverage": "jest --coverage --coverageReporters=text-lcov | coveralls"
},
"keywords": [
"immutability",
Expand All @@ -24,6 +25,7 @@
"@babel/preset-env": "^7.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"coveralls": "^3.0.2",
"eslint": "^5.10.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
Expand Down

0 comments on commit f6052a2

Please sign in to comment.