React Testing Library · Method
userEvent.unhover
user.unhover(element) simulates moving the pointer away from an element. It returns a promise and is used with the user-event setup API.
Last updated
Syntax
unhover(element: Element): Promise<void>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
hover()pointer()setup()