Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b92f3c2

Browse files
authoredApr 2, 2025··
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

Lines changed: 2 additions & 0 deletions
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)
Please sign in to comment.