mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-26 20:40:47 +00:00
Add a coverage
package script (#365)
Summary: We’re not mandating anything about coverage right now, but by making it easier to track coverage perhaps people will organically become more motivated to write good tests. Test Plan: Run `yarn coverage`, and then open `coverage/lcov-report/index.html`. wchargin-branch: coverage
This commit is contained in:
parent
4a70db0db1
commit
55d5c58e05
@ -66,6 +66,7 @@
|
||||
"backend": "node scripts/backend.js",
|
||||
"test": "node scripts/test.js --env=jsdom",
|
||||
"ci-test": "CI=1 npm run test",
|
||||
"coverage": "npm run test -- --coverage",
|
||||
"flow": "flow",
|
||||
"lint": "eslint src config --max-warnings 0",
|
||||
"travis": "node ./config/travis.js"
|
||||
|
Loading…
x
Reference in New Issue
Block a user