MCPcopy Create free account
hub / github.com/testing-library/react-testing-library / Test

Function Test

src/__tests__/cleanup.js:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 const spy = jest.fn()
32
33 const Test = () => {
34 React.useEffect(() => spy)
35
36 return null
37 }
38
39 render(<Test />)
40 cleanup()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…