React Testing Library · Method
userEvent.pointer
user.pointer simulates pointer-device interactions such as presses, releases, and movement. It accepts one action or a sequence of actions, but jsdom does not provide real browser layout.
Last updated
Syntax
user.pointer(input: PointerInput): Promise<void>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
PointerInputPointerActionInputPointerTargetSelectionTargetpointerMap