Add missing `wrapper.update()` and `act` calls
This test happened to pass before, but failed after an adapter upgrade. All external state changes should be wrapped in `act` to flush state updates and effects and followed by `wrapper.update` to update the Enzyme adapter.
Showing
Please register or sign in to comment