Skip to content
masterclass Buddy

React Testing Library · Function

configure

configure changes global options in React Testing Library. Use it to set options such as reactStrictMode, while a render option can override that setting for one test.

Last updated

Syntax

configure(options)

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

Subscribe
  • render
  • renderHook
  • cleanup
  • act
  • reactStrictMode
  • Configuration Options

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