-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add codecov.io support back thanks to remap-istanbul
- first Jest generates only `coverage-final.json` thanks to `"coverageReporters": ["json"]` - then remap-istanbul rewrites `coverage-final.json` using the source maps - and finally `istanbul report` generates `lcov-report` and `lcov.info` See https://medium.com/@novemberborn/code-coverage-with-babel-istanbul-nyc-83b8c2f1093
- Loading branch information
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
language: node_js | ||
node_js: | ||
- "7" | ||
script: | ||
- npm run coverage | ||
after_success: | ||
- npm install codecov | ||
- codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters