mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
docs: Update outdated Expo command in Troubleshooting guide (#1660)
This commit is contained in:
@@ -10,7 +10,7 @@ Check that you have matching versions of core dependencies:
|
||||
- React
|
||||
- React Test Renderer
|
||||
|
||||
React Native uses different versioning scheme from React, you can use [React Native Upgrade Helper](https://react-native-community.github.io/upgrade-helper/) to find the correct matching between React Native & React versions. In case you use Expo, you should use dependency versions recommended by them and set by `expo upgrade` command.
|
||||
React Native uses different versioning scheme from React, you can use [React Native Upgrade Helper](https://react-native-community.github.io/upgrade-helper/) to find the correct matching between React Native & React versions. In case you use Expo, run `npx expo install --fix` in your project to validate and install compatible versions of these dependencies.
|
||||
|
||||
React Test Renderer usually has same major & minor version as React, as they are closely related and React Test Renderer is part of [React monorepo](https://github.com/facebook/react).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user