-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Testing Async Hooks #285
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
Comments
We're still trying to figure out the best way to avoid that new warning in React 16.8.0 I'm going to go ahead and close this in favor of our existing discussion: #281 As well as the discussion on React: facebook/react#14769 (this is not really a react-testing-library issue). |
Hello @kentcdodds OK, but I have two issues :( |
titleNode always null. |
Could you ask this on the official community support channel please? https://spectrum.chat/react-testing-library Thanks, and good luck! |
OK thank you :) :) |
I want to test UsersList with call an async hooks fetch :
Test :
But I got :
1/ always
2/ titleNode always null.
How should be my test to test Component = UI + Hooks ?
How to await for useService Hooks to end ?
Thanks :)
The text was updated successfully, but these errors were encountered: