MCPcopy
hub / github.com/testing-library/react-testing-library / renderHook.js

File renderHook.js

src/__tests__/renderHook.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import React, {useEffect} from 'react'
2import {configure, renderHook} from '../pure'
3
4const isReact18 = React.version.startsWith('18.')

Callers

nothing calls this directly

Calls 3

renderHookFunction · 0.90
rerenderFunction · 0.85
configureFunction · 0.85

Tested by

no test coverage detected