MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / render

Function render

graph-ui/src/galaxy/ScopePathControls.test.tsx:44–45  ·  view source on GitHub ↗
(active: number)

Source from the content-addressed store, hash-verified

42 const steps = [{ edge: { id: 7, source: 2, target: 1, type: 'CALLS' }, from: 1, to: 2 },
43 { edge: { id: 8, source: 1, target: 3, type: 'INHERITS' }, from: 1, to: 3 }];
44 const render = (active: number) => act(async () => root.render(<PathSteps heading="Path" steps={steps} active={active}
45 nameOf={id => names.get(id)!} lines={false} onStep={onStep} onClear={onClear} />));
46 await render(0);
47 expect([...host.querySelectorAll('li code')].map(entry => entry.textContent))
48 .toEqual(['JSONBAgg <--CALLS-- test_jsonb_agg', 'JSONBAgg --INHERITS--> Aggregate']);

Callers 1

Calls 2

renderMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected