File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
docs/react-testing-library Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,10 @@ APIs for working with React components.
9
9
10
10
## Installation
11
11
12
- To get started with ` React Testing Library ` , you'll need to install it together
13
- with its peerDependency ` @testing-library/dom ` :
12
+ To get started with ` React Testing Library ` , you'll need to install it.
14
13
15
14
``` bash npm2yarn
16
- npm install --save-dev @testing-library/react @testing-library/dom
15
+ npm install --save-dev @testing-library/react
17
16
```
18
17
19
18
### With TypeScript
@@ -22,7 +21,7 @@ To get full type coverage, you need to install the types for `react` and `react-
22
21
well:
23
22
24
23
``` bash npm2yarn
25
- npm install --save-dev @testing-library/react @testing-library/dom @ types/react @types/react-dom
24
+ npm install --save-dev @testing-library/react @types/react @types/react-dom
26
25
```
27
26
28
27
[ gh ] : https://github.com/testing-library/react-testing-library
You can’t perform that action at this time.
0 commit comments