Closed artursvonda closed 1 year ago
The userEvent better represents actions taken by user/browser and actually allows us to get rid of some hacks.
userEvent
Also, testing now with React v18.
And removed redundant act calls as well since, both, fireEvent and userEvent wrap calls in act implicitly (when required).
act
fireEvent
Closed in favour of https://github.com/romgain/react-select-event/pull/175
The
userEvent
better represents actions taken by user/browser and actually allows us to get rid of some hacks.Also, testing now with React v18.
And removed redundant
act
calls as well since, both,fireEvent
anduserEvent
wrap calls inact
implicitly (when required).