Skip to content

Commit b92f3c2

Browse files
Mention renderOptions.reactStrictMode in configure.reactStrictMode
1 parent f64b60b commit b92f3c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/react-testing-library/api.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -515,3 +515,5 @@ configure({reactStrictMode: true})
515515

516516
When enabled, [`<StrictMode>`](https://react.dev/reference/react/StrictMode) is
517517
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

Comments
 (0)