reactlynx-testing-library / renderHook
函数: renderHook()
Allows you to render a hook within a test React component without having to create that component yourself.
类型参数
参数
返回
RenderHookResult<Result, Props>
示例
定义于
index.d.ts:1266
reactlynx-testing-library / renderHook
Allows you to render a hook within a test React component without having to create that component yourself.
RenderHookResult<Result, Props>
index.d.ts:1266