Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code coverage so it maps to TS sources #1043

Merged
merged 3 commits into from
May 16, 2020
Merged

Conversation

cspotcode
Copy link
Collaborator

Upgraded from istanbul to nyc, so this is blocked by dropping support for node 6.

The captured coverage is of the npm installed instance of ts-node in ./tests/node_modules. So I wrote a small remapper script to post-process the coverage report, rewriting the paths.

upgrade from istanbul to nyc

use a remapper script to remap from ./node_modules/ts-node to our source tree,
since all coverage is captured from an `npm install`ed instance of ts-node
@coveralls
Copy link

coveralls commented May 16, 2020

Coverage Status

Coverage increased (+2.2%) to 82.988% when pulling 2f620a9 on ab/fix-coverage into 4f18ceb on master.

@cspotcode
Copy link
Collaborator Author

Coveralls can visualize the coverage now.

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants