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

Function props

graph-ui/src/entry/EntryPointDialog.test.tsx:35–66  ·  view source on GitHub ↗
(overrides: Partial<EntryPointDialogProps> = {})

Source from the content-addressed store, hash-verified

33});
34
35function props(overrides: Partial<EntryPointDialogProps> = {}): EntryPointDialogProps {
36 return {
37 headline: '3 ways in the index flagged',
38 rows: [
39 {
40 key: 'symbol:p.createUser',
41 name: 'createUser',
42 where: 'src/services/userService.ts:23',
43 origin: 'entry point',
44 target: {
45 name: 'createUser',
46 qualifiedName: 'p.createUser',
47 kind: 'function',
48 filePath: 'src/services/userService.ts',
49 startLine: 23,
50 },
51 },
52 { key: 'symbol:p.nowhere', name: 'nowhere', where: '', origin: 'entry point' },
53 { key: 'route:GET /users', name: 'GET /users', where: 'src/routes/users.ts:9', origin: 'route (read from the source)' },
54 ],
55 query: '',
56 onQueryChange: vi.fn(),
57 hits: [],
58 status: 'idle',
59 message: '',
60 routeNote: '',
61 onChooseFlagged: vi.fn(),
62 onChooseHit: vi.fn(),
63 onClose: vi.fn(),
64 ...overrides,
65 };
66}
67
68async function render(given: EntryPointDialogProps): Promise<void> {
69 await act(async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected