Skip to content
masterclass Buddy

React Testing Library · Method

fireEvent.blur

fireEvent.blur dispatches a blur event on an element. Use real focus methods when the test must check focus movement or whether an element can receive focus.

Last updated

Syntax

fireEvent.blur(node, eventProperties)

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

Subscribe
  • fireEvent
  • fireEvent.focus
  • fireEvent.keyDown
  • user-event
  • document.activeElement

Source: Considerations for fireEvent. Checked 2026-11-03.