Skip to content

Commit c42237e

Browse files
authored
fix(docs): links in API.md (#958)
* fix(docs): links in API.md * Update API.md
1 parent 9810edf commit c42237e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/docs/API.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This page gathers public API of React Native Testing Library along with usage ex
77

88
## `render`
99

10-
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/render.test.js)
10+
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/render.test.tsx)
1111

1212
Defined as:
1313

@@ -345,7 +345,7 @@ If you're noticing that components are not being found on a list, even after moc
345345

346346
## `waitFor`
347347

348-
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/waitFor.test.js)
348+
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/waitFor.test.tsx)
349349

350350
Defined as:
351351

@@ -374,7 +374,7 @@ In order to properly use `waitFor` you need at least React >=16.9.0 (featuring a
374374

375375
## `waitForElementToBeRemoved`
376376

377-
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/waitForElementToBeRemoved.test.js)
377+
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/waitForElementToBeRemoved.test.tsx)
378378

379379
Defined as:
380380

@@ -410,7 +410,7 @@ In order to properly use `waitForElementToBeRemoved` you need at least React >=1
410410

411411
## `within`, `getQueriesForElement`
412412

413-
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/within.test.js)
413+
- [`Example code`](https://github.com/callstack/react-native-testing-library/blob/main/src/__tests__/within.test.tsx)
414414

415415
Defined as:
416416

0 commit comments

Comments
 (0)