We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef9e07 commit 7c7dc78Copy full SHA for 7c7dc78
README.md
@@ -113,6 +113,16 @@ yarn add --dev @testing-library/react
113
114
This library has `peerDependencies` listings for `react` and `react-dom`.
115
116
+_React Testing Library versions 13+ require React v18. If your project uses an
117
+older version of React, be sure to install version 12:_
118
+
119
+```
120
+npm install --save-dev @testing-library/react@12
121
122
123
+yarn add --dev @testing-library/react@12
124
125
126
You may also be interested in installing `@testing-library/jest-dom` so you can
127
use [the custom jest matchers](https://github.com/testing-library/jest-dom).
128
0 commit comments