-
Notifications
You must be signed in to change notification settings - Fork 2k
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
chore: enable test coverage #6799
Conversation
|
✅ Deploy Preview for apollo-server-docs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b6b0b04:
|
This reverts commit d6b2f0a.
Thanks for tracking this down @SimenB! I am not super comfortable relying on package-lock.json for important transitive dependency bumps so perhaps I'll just follow along with jestjs/jest#13119 and see when it ends up in a release? (The PR as written also doesn't currently actually enable coverage.) |
In v29 stable sometime this weekend or next week. So it'll require a major bump (not super breaking though, so possibly no issue to upgrade).
Oh, I just reverted the linked commit from jestjs/jest#12998 (comment) and updated the dep 🤷 |
I don't believe jestjs/jest#12998 will actually resolve the issue, because it's Babel that's generating the incorrect trace-mapping instance. The reason you noticed this when upgrading Jest is because Jest will reuse the invalid sourcemap as is. Maybe I should go with a better branding check, so that the old code path fails to run for this old remapping code. |
If you were to fresh |
Seems like this is of no interest, so I'll close to keep clutter down |
Thanks; I am still tracking this with the assumption that the Jest 29 upgrade will also resolve this (which is blocked on ts-jest doing a final release of their 29 support). |
Not necessarily - as mentioned the issue isn't in any of Jest's modules which'd be updated by v29 upgrade - it's transitive via That said, |
Supersedes #6799 Co-authored-by: SimenB <sbekkhus91@gmail.com>
Supersedes #6799 Co-authored-by: SimenB <sbekkhus91@gmail.com>
Ref jestjs/jest#12998 (comment), the issue with the test coverage is caused by
@jridgewell/trace-mapping
. In order to unblock, let's just force the version of that module in that repo.