Skip to content

Commit d6310a2

Browse files
docs(readme): Add install command for yarn (#645)
1 parent 1232e1f commit d6310a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ should be installed as one of your project's `devDependencies`:
101101
```
102102
npm install --save-dev @testing-library/react
103103
```
104+
or
105+
106+
for installation via [yarn](https://classic.yarnpkg.com/en/)
107+
```
108+
yarn add --dev @testing-library/react
109+
```
104110

105111
This library has `peerDependencies` listings for `react` and `react-dom`.
106112

0 commit comments

Comments
 (0)