-
Notifications
You must be signed in to change notification settings - Fork 180
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
some part5 component tests appear to fail #82
Comments
Having the exact same problem. In my own code as well as this example. I have tried almost everything |
Using await in as in |
Hey,
await made the example test code work. But I have been using await from the
start in my code and even though I can see the output changes using
screen.debug(). The mockhandler is still returning an empty array. I am
completely stumped.
Thanks for your help
…On Wed, 11 Jan 2023, 22:21 marcindulak, ***@***.***> wrote:
Using await in as in await userEvent..., and making the function async
helps to get rid of the errors.
—
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZP2SVLUC624ETD36S55FSLWR3TZFANCNFSM6AAAAAATVZEO74>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output:
The text was updated successfully, but these errors were encountered: