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

Function render

graph-ui/src/why/SelectionContext.test.tsx:41–42  ·  view source on GitHub ↗
(scope: Parameters<typeof SelectionContextPanel>[0]['scope'])

Source from the content-addressed store, hash-verified

39
40it('K13: says when the scope is partial, still loading or traced in one direction or for some types only', async () => {
41 const render = (scope: Parameters<typeof SelectionContextPanel>[0]['scope']) => act(async () => root.render(
42 <SelectionContextPanel graph={snapshot} selected={selected} path="general.py" onNavigate={vi.fn()} scope={scope} />));
43 await render({ graph: scopeGraph, complete: false, direction: 'both' });
44 expect(host.textContent).toContain('The scope is still loading');
45 await render({ graph: scopeGraph, complete: true, direction: 'both', partial: { layer: 3, nodes: 9139, edges: 43010, limit: 'nodes' } });

Callers 1

Calls 1

renderMethod · 0.65

Tested by

no test coverage detected