act() and wait() methods #332
Unanswered
StefanZivkovic
asked this question in
Q&A
Replies: 1 comment
-
It depends, if the effect in the DOM resulting from the simulated event is not done synchronously by your components, then yes. |
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
-
If we use act() around actions we simulate in tests, do we have to use wait() for incoming assertations?
Beta Was this translation helpful? Give feedback.
All reactions