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

Function render

graph-ui/src/traces/BugWizard.test.tsx:94–111  ·  view source on GitHub ↗
(paths: BugPathsDto | undefined, over: Partial<Handlers> = {})

Source from the content-addressed store, hash-verified

92type Handlers = ReturnType<typeof handlerSet>;
93
94async function render(paths: BugPathsDto | undefined, over: Partial<Handlers> = {}): Promise<Handlers> {
95 const handlers: Handlers = { ...handlerSet(), ...over };
96 await act(async () => {
97 root.render(
98 <BugWizard
99 project="codeatlasweb-w4b"
100 target={TARGET}
101 paths={paths}
102 status={paths === undefined ? 'loading' : 'ready'}
103 message=""
104 onHop={handlers.onHop}
105 onChangeTarget={handlers.onChangeTarget}
106 onClose={handlers.onClose}
107 />,
108 );
109 });
110 return handlers;
111}
112
113const at = (testid: string): HTMLElement | null =>
114 container.querySelector<HTMLElement>(`[data-testid="${testid}"]`);

Callers 1

BugWizard.test.tsxFile · 0.70

Calls 2

handlerSetFunction · 0.70
renderMethod · 0.65

Tested by

no test coverage detected