Replies: 1 comment
-
If you call If you call |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are migrating from v13->v14 and going through setting up the
user
object via theuser.setup()
method. There are some differences between doing this and using the backwards-compatible importingUserEvent
directly.I have a test case here: https://stackblitz.com/edit/vitest-dev-vitest-ypkzea?file=test%2Fcomponent.test.tsx
I would think that each test would behave the same way, but it looks like the
click
from the direct import alsohover
but theclick
from theuserEvent.setup
does not.Any pointers here?
Beta Was this translation helpful? Give feedback.
All reactions