reactlynx-testing-library / renderHook
Allows you to render a hook within a test React component without having to create that component yourself.
Type Parameter |
---|
Result |
Props |
Parameter | Type |
---|---|
render |
(initialProps : Props ) => Result |
options ? |
RenderHookOptions <Props > |
RenderHookResult
<Result
, Props
>
index.d.ts:1266