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

Function panel

graph-ui/src/galaxy/GalaxyPanel.selection.test.tsx:35–35  ·  view source on GitHub ↗
(scope: SelectionScope | undefined)

Source from the content-addressed store, hash-verified

33 { id: 3, source: 3, target: 1, type: 'DEFINES' }, { id: 4, source: 1, target: 4, type: 'INHERITS' }];
34 const seen: (SelectionScope | undefined)[] = [];
35 const panel = (scope: SelectionScope | undefined) => { seen.push(scope); return <p>selection evidence</p>; };
36 await act(async () => root.render(<GalaxyPanel project="sample" visible workspaceExpanded onOpenNode={vi.fn()} selectionPanel={panel}
37 fetch={scopeFetch({ nodes, edges }).fetch} />));
38 await settle(() => expect(globalThis.__atlasGalaxy?.nodes).toBe(4));

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected