user-event simulates interactions closer to how a user would trigger them, often dispatching multiple events in the correct order.
Question 8 of 20 in React Testing Quiz