React Testing Library · Method
fireEvent.input
fireEvent.input dispatches an input event on a DOM element. Pass the element and event properties, or create an event first and dispatch it with fireEvent.
Last updated
Syntax
fireEvent.input(node, eventProperties)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
fireEventfireEvent[eventName]createEvent[eventName]user-eventfireEvent.changefireEvent.click