MCPcopy Index your code
hub / github.com/callstack/react-native-testing-library / debugImpl

Function debugImpl

src/render.tsx:115–122  ·  view source on GitHub ↗
(options?: DebugOptions)

Source from the content-addressed store, hash-verified

113
114function makeDebug(renderer: Root): DebugFunction {
115 function debugImpl(options?: DebugOptions) {
116 const { defaultDebugOptions } = getConfig();
117 const debugOptions = { ...defaultDebugOptions, ...options };
118 const json = renderer.container.toJSON();
119 if (json) {
120 return debug(json, debugOptions);
121 }
122 }
123 return debugImpl;
124}
125

Callers

nothing calls this directly

Calls 2

getConfigFunction · 0.90
debugFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…