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

Function props

graph-ui/src/twin/SelectedCodePanel.test.tsx:25–38  ·  view source on GitHub ↗
(overrides: Partial<SelectedCodePanelProps> = {})

Source from the content-addressed store, hash-verified

23});
24
25function props(overrides: Partial<SelectedCodePanelProps> = {}): SelectedCodePanelProps {
26 return {
27 filePath: 'src/services/userService.ts',
28 symbol: CREATE_USER_IR.symbol,
29 ir: CREATE_USER_IR,
30 status: 'ready',
31 pinned: false,
32 onTogglePin: vi.fn(),
33 onAsk: vi.fn(),
34 onShowGraph: vi.fn(),
35 onFollow: vi.fn(),
36 ...overrides,
37 };
38}
39
40async function render(overrides: Partial<SelectedCodePanelProps> = {}) {
41 const value = props(overrides);

Callers 1

renderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected