Which testing strategy is recommended for testing asynchronous components?
Use screen.findByText()
Mock all asynchronous actions
Avoid using hooks with asynchronous code
Test without considering async behavior
This question is part of this quiz :
Testing in React