Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Open a Terminal in your project's folder and run:
yarn add --dev react-native-testing-library
```

This library has a peerDependencies listing for `react-test-renderer`, `pretty-format` and, of course, `react`. Make sure to install them too!
This library has a peerDependencies listing for `react-test-renderer` and, of course, `react`. Make sure to install them too!

As you may have noticed, it's not tied to React Native at all – you can safely use it in your React components if you feel like not interacting directly with DOM.

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,17 @@
"flow-bin": "^0.83.0",
"jest": "^23.6.0",
"metro-react-native-babel-preset": "^0.48.0",
"pretty-format": "^23.6.0",
"react": "16.6.0-alpha.8af6728",
"react-native": "^0.57.3",
"react-test-renderer": "16.6.0-alpha.8af6728",
"release-it": "^7.6.2",
"strip-ansi": "^5.0.0",
"typescript": "^3.1.1"
},
"dependencies": {
"pretty-format": "^23.6.0"
},
"peerDependencies": {
"pretty-format": ">=20.0.0",
"react": ">=16.0.0",
"react-test-renderer": ">= 16.0.0"
},
Expand Down