We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
renderOptions.reactStrictMode
configure.reactStrictMode
1 parent f64b60b commit b92f3c2Copy full SHA for b92f3c2
docs/react-testing-library/api.mdx
@@ -515,3 +515,5 @@ configure({reactStrictMode: true})
515
516
When enabled, [`<StrictMode>`](https://react.dev/reference/react/StrictMode) is
517
rendered around the inner element. Defaults to `false`.
518
+
519
+This setting can be changed for a single test by providing `reactStrictMode` in the options argument of the [`render`](#render-options-reactstrictmode) function.
0 commit comments