Skip to content

Commit 913a19b

Browse files
docs: API overview tweaks (#1599)
* docs: api overview tweaks * docs: update README
1 parent 8ecd1c5 commit 913a19b

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ React Native Testing Library consists of following APIs:
129129
- [Jest matchers](https://callstack.github.io/react-native-testing-library/docs/jest-matchers) - validate assumptions about your UI
130130
- [User Event](https://callstack.github.io/react-native-testing-library/docs/user-event) - simulate common user interactions like [`press`](https://callstack.github.io/react-native-testing-library/docs/user-event#press) or [`type`](https://callstack.github.io/react-native-testing-library/docs/user-event#type) in a realistic way
131131
- [Fire Event](https://callstack.github.io/react-native-testing-library/docs/fire-event) - simulate any component event in a simplified way
132+
- [`renderHook` function](https://callstack.github.io/react-native-testing-library/docs/render-hook) - render hooks for testing purposes
132133
- [Other APIs](https://callstack.github.io/react-native-testing-library/docs/other):
133134
- [Async utils](https://callstack.github.io/react-native-testing-library/docs/other#async-utilities): `findBy*` queries, `waitFor`, `waitForElementToBeRemoved`
134135
- [Configuration](https://callstack.github.io/react-native-testing-library/docs/other#configuration): `configure`, `resetToDefaults`

website/docs/API.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ React Native Testing Library consists of following APIs:
1313
- [Jest matchers](jest-matchers) - validate assumptions about your UI
1414
- [User Event](user-event) - simulate common user interactions like [`press`](user-event#press) or [`type`](user-event#type) in a realistic way
1515
- [Fire Event](fire-event) - simulate any component event in a simplified way
16+
- [`renderHook` function](render-hook) - render hooks for testing purposes
1617
- [Other APIs](other):
1718
- [Async utils](other#async-utilities): `findBy*` queries, `wait`, `waitForElementToBeRemoved`
1819
- [Configuration](other#configuration): `configure`, `resetToDefaults`

website/docs/UserEvent.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
id: user-event
3-
title: User Event interactions
3+
title: User Event
44
---
55

66
:::note

website/sidebars.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ module.exports = {
66
'render',
77
'screen',
88
'queries',
9+
'jest-matchers',
910
'user-event',
1011
'fire-event',
11-
'jest-matchers',
1212
'render-hook',
1313
'other',
1414
],

0 commit comments

Comments
 (0)