docs: fix minimum react-native version for async act to 0.61 (#836)

This commit is contained in:
Güven Karanfil
2021-10-15 21:09:34 +03:00
committed by GitHub
parent 54d970c940
commit 2f5208b93b
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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