ReactTestUtils: Simulate

Simulate.{eventName}(
  element,
  [eventData]
)

Simulate an event dispatch on a DOM node with optional eventData event data.

Simulate has a method for every event that React understands.

Related concepts

ReactTestUtils: Simulate — Structure map

Clickable & Draggable!

ReactTestUtils: Simulate — Related pages: