File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,13 @@ The `renderHook` function accepts the following options as the second parameter:
4646
4747### `initialProps`
4848
49- The initial values to pass as `props` to the `callback` function of `renderHook.
49+ The initial values to pass as `props` to the `callback` function of `renderHook` .
5050
5151### `wrapper`
5252
5353A React component to wrap the test component in when rendering. This is usually used to add context
54- providers from `React.createContext` for the hook to access with `useContext`.
54+ providers from `React.createContext` for the hook to access with `useContext`. `initialProps` and
55+ props subsequently set by `rerender` will be provided to the wrapper.
5556
5657## `renderHook` Result
5758
You can’t perform that action at this time.
0 commit comments