docs: Add note for cleanup being unnecessary (#115)

This commit is contained in:
Jan Hesters
2019-02-14 19:39:36 +01:00
committed by Michał Pierzchała
parent e17734f885
commit f35d4f5dac
+2
View File
@@ -74,6 +74,8 @@ The [public API](docs/API.md) of `react-native-testing-library` is focused aroun
- [`waitForElement`](docs/API.md#waitforelement) - waits for non-deterministic periods of time until your element appears or times out.
- [`flushMicrotasksQueue`](docs/API.md#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.
---
Supported and used by [Rally Health](https://www.rallyhealth.com/company/careers).