From 8b89a2fcd2e1425772cbaaa9dfb0f4b96393e97d Mon Sep 17 00:00:00 2001 From: Jan Hesters <31096420+janhesters@users.noreply.github.com> Date: Thu, 14 Feb 2019 19:36:41 +0100 Subject: [PATCH 1/2] Add note for `cleanup` --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f36545ca6..1cd790692 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). From 2add9c48a0c19b42a62cc40175506bdf403b6f91 Mon Sep 17 00:00:00 2001 From: Jan Hesters <31096420+janhesters@users.noreply.github.com> Date: Thu, 14 Feb 2019 19:38:09 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cd790692..392ffc775 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ 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. +**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. ---