Skip to content
masterclass Buddy

React Testing Library · Method

fireEvent.change

Use fireEvent.change with target.value to test text inputs and select elements. Use fireEvent.click for checkboxes and radio buttons.

Last updated

Syntax

fireEvent.change(node, eventProperties)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • fireEvent
  • fireEvent.click
  • createEvent
  • @testing-library/user-event
  • waitFor

Source: FAQ | Testing Library. Checked 2026-11-03.