File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -145,10 +145,11 @@ npm install --save-dev @testing-library/react-hooks
145
145
[ ` react ` ] ( https://www.npmjs.com/package/react ) to allow you to install the specific version you want
146
146
to test against. It also does not come installed with a specific renderer, we currently support
147
147
[ ` react-test-renderer ` ] ( https://www.npmjs.com/package/react-test-renderer ) and
148
- [ ` react-dom ` ] ( https://www.npmjs.com/package/react-dom ) , you only need to install one of them.
149
- However,you can install both, but ` react-test-renderer ` is the default, for more information see the
150
- [ installation docs] ( https://react-hooks-testing-library.com/#installation ) . Generally, the installed
151
- versions for ` react ` and the selected renderer should have matching versions:
148
+ [ ` react-dom ` ] ( https://www.npmjs.com/package/react-dom ) . You only need to install one of them,
149
+ however, if you do have both installed, we will use ` react-test-renderer ` as the default. For more
150
+ information see the [ installation docs] ( https://react-hooks-testing-library.com/#installation ) .
151
+ Generally, the installed versions for ` react ` and the selected renderer should have matching
152
+ versions:
152
153
153
154
``` sh
154
155
npm install react@^16.9.0
You can’t perform that action at this time.
0 commit comments