mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
docs: fix minimum react-native version for async act to 0.61 (#836)
This commit is contained in:
@@ -46,7 +46,7 @@ npm install --save-dev @testing-library/react-native
|
||||
|
||||
This library has a peerDependencies listing for `react-test-renderer` and, of course, `react`. Make sure to install them too!
|
||||
|
||||
> In order to properly use helpers for async tests (`findBy` queries and `waitFor`) you need at least React >=16.9.0 (featuring async `act`) or React Native >=0.60 (which comes with React >=16.9.0).
|
||||
> In order to properly use helpers for async tests (`findBy` queries and `waitFor`) you need at least React >=16.9.0 (featuring async `act`) or React Native >=0.61 (which comes with React >=16.9.0).
|
||||
|
||||
### Additional Jest matchers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user