-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 to vitest #10420
base: master
Are you sure you want to change the base?
jest to vitest #10420
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
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.
I feel like this ceremony with jest-snapshot package could be circumvented with https://vitest.dev/guide/snapshot#custom-serializer
but I didn't dig deep what exactly this is all about
i assume for more simple snapshots or something
I will leave it for some other time
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.
I think is to add 'toMatchRoundedMatrix' maybe we can avoid to use that custom matcher or just have a function in that case that does what it has to do
My first impression is that the api changes are minimal ( just mock checks a little bit ). |
those needs to stay in a separate PR, could also be the reason why your build is failing build failed most probably because I removed After we land this (if we land this) I can help you migrate some of those QUnit tests to vitest |
I am using browser mode heavily in my vue project, because I can test my components in real environment with real rendering and screenshots. |
94c7a51
to
aed5a2d
Compare
@asturur could you please rerun the build? to see if it is fixed now |
proposed here #10417 (comment)