From f35d4f5dac30daffa55199f5c46708494318cce9 Mon Sep 17 00:00:00 2001 From: Jan Hesters <31096420+janhesters@users.noreply.github.com> Date: Thu, 14 Feb 2019 19:39:36 +0100 Subject: [PATCH] docs: Add note for `cleanup` being unnecessary (#115) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f36545ca..392ffc77 100644 --- a/README.md +++ b/README.md @@ -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).