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

Function props

graph-ui/src/app/AtlasTree.test.tsx:58–71  ·  view source on GitHub ↗
(overrides: Partial<AtlasTreeProps> = {})

Source from the content-addressed store, hash-verified

56});
57
58function props(overrides: Partial<AtlasTreeProps> = {}): AtlasTreeProps {
59 return {
60 projectName: 'atlas-sample',
61 rows: [dir('src', true), file('src/services/userService.ts')],
62 cursor: 0,
63 activePath: '',
64 note: '18 files, 71 symbols from /api/tree',
65 onCursorChange: vi.fn(),
66 onOpen: vi.fn(),
67 onToggle: vi.fn(),
68 onKeyDown: vi.fn(),
69 ...overrides,
70 };
71}
72
73async function render(next: AtlasTreeProps): Promise<void> {
74 await act(async () => {

Callers 1

AtlasTree.test.tsxFile · 0.70

Calls 2

dirFunction · 0.85
fileFunction · 0.70

Tested by

no test coverage detected