You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs mention that one can wrap userEvent.setup() in a setup function and return it alongside the render result. But adding a type signature to setup is difficult because there's no easy way to reference the return type of userEvent.setup().
Problem description
The docs mention that one can wrap
userEvent.setup()
in asetup
function and return it alongside the render result. But adding a type signature tosetup
is difficult because there's no easy way to reference the return type ofuserEvent.setup()
.Suggested solution
Ideally, I'd like to be able to do
Additional context
Current workaround:
The text was updated successfully, but these errors were encountered: