-
Notifications
You must be signed in to change notification settings - Fork 262
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: update to jest 27 #811
Conversation
This is currently blocked by vuejs/core#4216 in vue-next, as this update surfaced an issue when spying on proxy (it in fact occurs with jest v26.6.1, but we were using an older version than that) |
c900b06
to
c9b82b1
Compare
jestjs/jest#11721 landed, unblocking part of the issue with proxy spying. We are still waiting on vuejs/core#4216 to completely unblock this PR. |
c9b82b1
to
51f8399
Compare
✔️ Deploy Preview for vue-test-utils-docs ready! 🔨 Explore the source changes: 88a5ced 🔍 Inspect the deploy log: https://app.netlify.com/sites/vue-test-utils-docs/deploys/6208d7bfc9d4da000781665b 😎 Browse the preview: https://deploy-preview-811--vue-test-utils-docs.netlify.app |
Updates jest, ts-jest and babel-jest to v27. vue-jest v5 does not support jest v27, so a new vue3-jest package has been introduced (see vuejs/vue-jest#343), with a version number aligned on the jest version (as ts-jest and babel-jest do). This commits replaces vue-jest by vue3-jest, and updates the jest config to use this new trasnformer. This will be the default Vue CLI setup in the future.
51f8399
to
88a5ced
Compare
The proxy issue in core has been fixed and released in v3.2.31, so this PR can now be merged after review |
Updates jest, ts-jest and babel-jest to v27.
vue-jest v5 does not support jest v27,
so a new vue3-jest package has been introduced (see vuejs/vue-jest#343),
with a version number aligned on the jest version (as ts-jest and babel-jest do).
This commits replaces vue-jest by vue3-jest, and updates the jest config to use this new trasnformer.
This will be the default Vue CLI setup in the future.