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

Function unmountHook

src/core/index.ts:66–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 }
65
66 const unmountHook = () => {
67 removeCleanup(unmountHook)
68 unmount()
69 }
70
71 addCleanup(unmountHook)
72

Callers

nothing calls this directly

Calls 2

removeCleanupFunction · 0.90
unmountFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…