mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
(Nearly) Empty migration doc for ver. 2.0 (#326)
* Added migration docs section * Added to docosaurus side bar * Updated README * Increased async test timeout * Update website/docs/Migration20.md Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
This commit is contained in:
committed by
Michał Pierzchała
parent
9b90d6790d
commit
b3e5ca386c
@@ -122,7 +122,9 @@ The [public API](https://callstack.github.io/react-native-testing-library/docs/a
|
||||
- [`within`](https://callstack.github.io/react-native-testing-library/docs/api#within) - creates a queries object scoped for given element.
|
||||
- [`flushMicrotasksQueue`](https://callstack.github.io/react-native-testing-library/docs/api#flushmicrotasksqueue) - waits for microtasks queue to flush.
|
||||
|
||||
**Note to users who are more familiar with `react-testing-library`:** This API does not expose `cleanup` because it doesn't interact with the DOM. There's nothing to clean up.
|
||||
## Migration Guides
|
||||
|
||||
- [Migration to 2.0](https://callstack.github.io/react-native-testing-library/docs/migration20)
|
||||
|
||||
## Made with ❤️ at Callstack
|
||||
|
||||
|
||||
Reference in New Issue
Block a user