-
Notifications
You must be signed in to change notification settings - Fork 156
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 coverage reports cause an error with v4.0.0-beta.2 #241
Comments
Did you update any other dependencies? Seems like this might be some sort of conflict between at least Jest
Changed to:
|
I have the same problem, and when I fix JEST to V24, the coverage report output is successful.
|
Yes I updated jest from v24 to v25 I think. |
I'm using
Trying to upgrade to
|
@Petercopter
So I can't downgrade @jest/core to v25.4.0. |
Fixes "don't know how to turn this value into a node" See issue vuejs/vue-jest#241
same issue here. going back to |
* feat: prepare for Nuxt 2.13 * fix(jest): downgrate vue-jest to v3 pending by vuejs/vue-jest#241 * chore(deps): update all non-major dependencies (#509) * fix(prettier): add stylelint-config-prettier * chore(deps): update jest packages (major) (#513) * chore: add npm registry config * chore(deps): update all non-major dependencies * chore(deps): update devdependency @nuxt/typescript-build to v1 * fix(ava): expect vm truthy as vue instance assertion * chore(deps): update all non-major dependencies * chore(deps): update all non-major dependencies * feat(template): remove dotenv module (#544) * chore: optimize svg & animation (#547) * feat: add content module (#540) * chore(deps): update all non-major dependencies * chore(deps): lock file maintenance (#541) * v3.0.0 * chore: update snapshots * chore: update prompts and add TS runtime by default * chore: fix lint issue Co-authored-by: Clark Du <clark.duxin@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com> Co-authored-by: Benjamin Canac <canacb1@gmail.com> Co-authored-by: Pooya Parsa <pyapar@gmail.com>
vue-jest@4.0.0-beta.3 dont work with jest 25 & 26 too, only 3.0.5 |
Is this fixed for "vue-jest": "^5.0.0-alpha.3" ? |
I don't think this is fixed in alpha 5. I wonder if this will fix it: #263. I will try to review and merge that soon. |
As I commented in the PR, the fix is not in the latest |
Right, I misunderstood. I released v4.0.0-beta.6. I hope this fixes this issue. |
Hi @lmiller1990 Moreover, my tests now appear to fail for all .vue files when running with coverage, while these pass whenever I run jest with the |
I just tried to update to Also another minor thing: with the latest 26.x Jest I get warnings from
Would be nice if version of |
@lmiller1990 It looks like the fix is not in the |
Weird, I thought I checked for this. Can you make a PR and I can merge and release it? PS: you should be able to install your own version of If you would like to make a PR with both those changes, I can test and release in the next 24-48h. Thanks for following up on this - I appreciate it. |
@lmiller1990 I created a PR #280 |
New version checks out! I was able to upgrade to Jest 26, and everything looks good. Release candidate! 🎉 Thanks everyone! |
Great job @aantipov on this and tahnks to @Petercopter for testing 👍 |
I just tested and it works! |
i faced the same problem, fixed it by upgrade @babel/core version to 7.17.8 or or downgrade to 7.16.2 |
I just decided to give the latest beta a spin, and it worked well for running the unit tests, but when also trying to add a coverage report, I got:
Downgrading to v3.0.5 fixed the issue and printed out coverage reports again.
I am using:
The text was updated successfully, but these errors were encountered: