MCPcopy
hub / github.com/testing-library/react-hooks-testing-library / render

Function render

src/dom/pure.ts:17–21  ·  view source on GitHub ↗
(props?: TProps)

Source from the content-addressed store, hash-verified

15
16 return {
17 render(props?: TProps) {
18 act(() => {
19 ReactDOM.render(testHarness(props), container)
20 })
21 },
22 rerender(props?: TProps) {
23 act(() => {
24 ReactDOM.render(testHarness(props), container)

Callers 1

renderHookFunction · 0.50

Calls 1

testHarnessFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…