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.
99
1010## Installation
1111
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.
1413
1514``` bash npm2yarn
16- npm install --save-dev @testing-library/react @testing-library/dom
15+ npm install --save-dev @testing-library/react
1716```
1817
1918### With TypeScript
@@ -22,7 +21,7 @@ To get full type coverage, you need to install the types for `react` and `react-
2221well:
2322
2423``` 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
2625```
2726
2827[ gh ] : https://github.com/testing-library/react-testing-library
You can’t perform that action at this time.
0 commit comments