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 reporting coverage when using babel. #903

Merged
merged 2 commits into from
Aug 28, 2018
Merged

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Aug 24, 2018

If the istanbul-instrumenter-loader is added in a separate rule from the babel-loader, the line numbers reported by coverage are wrong.

Compare, for instance, these codecov reports:

If the istanbul-instrumenter-loader is added in a separate rule from the
babel-loader, the line numbers reported by coverage are wrong.
@manthey manthey merged commit a0f418b into master Aug 28, 2018
@manthey manthey deleted the babel-coverage-reporting branch August 28, 2018 19:54
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.

3 participants