Dealing with "act" warning on react testing
Sep 03, 2021•6 min•Season 1Ep. 2
Episode description
So I have a MainComponent, inside there are some “remote” components like OfficeSelect, that fetches data asynchronously on mount, using axios, everytime I test MainComponent I get the “act” warning on that OfficeSelect fetch, how do I deal with that?
For the best experience, listen in Metacast app for iOS or Android
