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
{{ message }}
This repository was archived by the owner on Apr 18, 2023. It is now read-only.
Hopefully, this is the right place, but feel free to let me know if I am doing something stupid.
So I have attempted to upgrade to react 17, but found all my tests related to useEffect cleanup's are not passing anymore. It would seem like they are triggered.
Example below is an example where the console log never gets called, and the toHaveBeenCalledTimes is 0.
Hey, hope all is well.
Hopefully, this is the right place, but feel free to let me know if I am doing something stupid.
So I have attempted to upgrade to react 17, but found all my tests related to useEffect cleanup's are not passing anymore. It would seem like they are triggered.
Example below is an example where the console log never gets called, and the

toHaveBeenCalledTimesis 0.Here is the test:
And here is the hook:
Here is a snippet of the renderWrapper function: