@@ -25,7 +25,7 @@ function renderHook(
2525Renders a test component that will call the provided `callback`, including any hooks it calls, every
2626time it renders.
2727
28- The `renderHook` function accept the following arguments:
28+ The `renderHook` function accepts the following arguments:
2929
3030### `callback`
3131
@@ -42,7 +42,7 @@ An options object to modify the execution of the `callback` function. See the
4242
4343## `renderHook` Options
4444
45- The `renderHook` function accepts the following options as the second parameter:
45+ The `renderHook` method accepts the following options as the second parameter:
4646
4747### `initialProps`
4848
@@ -55,7 +55,7 @@ providers from `React.createContext` for the hook to access with `useContext`.
5555
5656## `renderHook` Result
5757
58- The `renderHook` method returns an object that has a following properties:
58+ The `renderHook` method returns an object that has the following properties:
5959
6060### `result`
6161
@@ -76,7 +76,7 @@ function waitForNextUpdate(): Promise<void>
7676```
7777
7878- `waitForNextUpdate` (`function`) - returns a `Promise` that resolves the next time the hook
79- renders, commonly when state is updated as the result of a asynchronous action
79+ renders, commonly when state is updated as the result of an asynchronous action.
8080
8181### `rerender`
8282
@@ -85,8 +85,7 @@ function rerender(newProps?: any): void
8585```
8686
8787A function to rerender the test component, causing any hooks to be recalculated. If `newProps` are
88- passed, the will replace the `initialProps` passed to the `callback` function for the rerender any
89- subsequent renders.
88+ passed, they will replace the `callback` function's `initialProps` for subsequent rerenders.
9089
9190### `unmount`
9291
0 commit comments