Skip to content

Commit 859cb82

Browse files
authored
Replace imports (#421)
1 parent 97cd12d commit 859cb82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ function waitFor<T>(
337337
Waits for non-deterministic periods of time until your element appears or times out. `waitFor` periodically calls `expectation` every `interval` milliseconds to determine whether the element appeared or not.
338338

339339
```jsx
340-
import { render, waitFor } from 'react-testing-library';
340+
import { render, waitFor } from 'react-native-testing-library';
341341

342342
test('waiting for an Banana to be ready', async () => {
343343
const { getByText } = render(<Banana />);
@@ -368,7 +368,7 @@ function waitForElementToBeRemoved<T>(
368368
Waits for non-deterministic periods of time until queried element is removed or times out. `waitForElementToBeRemoved` periodically calls `expectation` every `interval` milliseconds to determine whether the element has been removed or not.
369369

370370
```jsx
371-
import { render, waitForElementToBeRemoved } from 'react-testing-library';
371+
import { render, waitForElementToBeRemoved } from 'react-native-testing-library';
372372

373373
test('waiting for an Banana to be removed', async () => {
374374
const { getByText } = render(<Banana />);

0 commit comments

Comments
 (0)