Skip to content

Commit 604107d

Browse files
committed
Support coveralls with jest
1 parent 3a9ea3e commit 604107d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "jest",
1616
"watch:test": "jest --watch",
1717
"test:cover": "jest --coverage",
18-
"report-coverage": "nyc report --reporter=text-lcov | coveralls",
18+
"report-coverage": "cat ./coverage/lcov.info | coveralls",
1919
"prepush": "npm run test:cover",
2020
"release": "npm run test:cover && git tag $npm_package_version && git commit -am $npm_package_version && git push && git push --tags && npm publish"
2121
},

0 commit comments

Comments
 (0)