Fire events the same way the user does. user-event tries to simulate the real events that would happen in the browser as the user interacts with it. For example userEvent.click(checkbox) would change the state of the checkbox. user-event is a companion library for Testing Library that simulates user interactions by dispatching the events that would happen if the interaction took place in a browser. fireEvent dispatches DOM events, whereas user-event simulates full interactions, which may...