-
Notifications
You must be signed in to change notification settings - Fork 447
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
Jest 20: mapCoverage #201
Comments
Can you create a minimal repo that reproduces this? |
not yet, it seems to have something to do with:
Before Jest 20 I was able to just have:
but after upgrading everything that had a relative import
where it worked with Jest 19, so I changed
adding |
This shows the problem: https://github.com/joscha/jest-20 - I haven't found out where exactly it blows up. |
When I remove |
I just ran:
and got these results:
|
have a look at the HTML report please in I actually think |
We're not doing anything explicitly but it appears that having this value set is causing problems during testing. There are two ways this can be fixed - by deleting I'm leaning towards the former as I don't see any need for |
I have set it to |
Sure, that'd be great!
Thanks :) |
PR is here: #202 |
Unfortunately, this is still not fixed due to jestjs/jest#3524 |
@thymikee does this mean we can use |
Yes |
With
mapCoverage
set totrue
, I seem to get this:in the reports with:
when I drill into the file.
If I disable
mapCoverage
everything seems to work as expected regarding the coverage, but the mapping is shifted.No
file://
linksThe text was updated successfully, but these errors were encountered: