-
Notifications
You must be signed in to change notification settings - Fork 257
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
test: migrate to vitest #1637
test: migrate to vitest #1637
Conversation
✅ Deploy Preview for vue-test-utils-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Cool - happy to merge this if we can get everything green. Definitely not my biggest priority, but nice to see Vitest is getting more mature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self reviewed :)
// TODO: Find out why this does not work | ||
// Is it valid to have an AsyncComponent as the root? Was it ever? | ||
it.skip('works when AsyncComponent is the root', async () => { | ||
it('works when AsyncComponent is the root', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix the test fail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@okxiaoliang4 Would you mind rebasing the PR and fixing the conflicts please? I'll merge when it's done |
🎉 I actually have no problem with Jest... but happy to adopt Vitest, much of a muchness, really. |
@cexbrayat done. |
migrate to
vitest
vitest
test for sourceTest Files 52 passed (52) Tests 403 passed | 1 todo (404) Time 16.35s (in thread 4.93s, 331.63%)
vitest
test for productTest Files 52 passed (52) Tests 403 passed | 1 todo (404) Time 14.89s (in thread 4.58s, 325.36%)
jest
test for sourcejest
test for product