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.
act
1 parent f8ad6c3 commit b216188Copy full SHA for b216188
docs/react-testing-library/api.md
@@ -290,4 +290,4 @@ errors in your tests).
290
This is a light wrapper around the
291
[`react-dom/test-utils` `act` function](https://reactjs.org/docs/test-utils.html#act).
292
All it does is forward all arguments to the act function if your version of
293
-react supports `act`.
+react supports `act`. It is recommended to use the import from `@testing-library/react` over `react-dom/test-utils` for consistency reasons.
0 commit comments