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
I don't think our tests should rely on setState() being synchronous as it's unclear that this will always work in enzyme as its libraries evolve and get upgraded.
We have a few problems in the test suite related to this but first let's try not to rely on setState callbacks.
Here are two places that (hopefully) can be fixed with different approaches:
I don't think our tests should rely on
setState()
being synchronous as it's unclear that this will always work in enzyme as its libraries evolve and get upgraded.We have a few problems in the test suite related to this but first let's try not to rely on
setState
callbacks.Here are two places that (hopefully) can be fixed with different approaches:
The text was updated successfully, but these errors were encountered: