Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/callstack/react-native-testing-library
/ unmount
Function
unmount
src/render.tsx:64–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
62
};
63
64
const unmount = async () => {
65
await act(() => {
66
renderer.unmount();
67
});
68
};
69
70
const toJSON = (): JsonElement | null => {
71
const json = renderer.container.toJSON();
Callers
5
input.tsx
File · 0.85
expected.tsx
File · 0.85
input.tsx
File · 0.85
expected.tsx
File · 0.85
render-hook.test.tsx
File · 0.85
Calls
1
act
Function · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…