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

Function unmount

src/dom/pure.ts:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 })
26 },
27 unmount() {
28 act(() => {
29 ReactDOM.unmountComponentAtNode(container)
30 })
31 },
32 act
33 }
34}

Callers 3

unmountHookFunction · 0.50
useEffect.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…