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

Function Scoped

graph-ui/src/diagnostics/DaemonAlerts.test.tsx:117–120  ·  view source on GitHub ↗
({ project }: { project: string })

Source from the content-addressed store, hash-verified

115 });
116 const api = new AtlasApi({ fetch: fetch as typeof globalThis.fetch });
117 function Scoped({ project }: { project: string }) {
118 const feed = useDaemonLogFeed(api, true, 100, project);
119 return <div>{feed.data?.project}:{feed.error}</div>;
120 }
121 await act(async () => root.render(<Scoped project="A" />));
122 expect(container.textContent).toBe('A:');
123 await act(async () => root.render(<Scoped project="B" />));

Callers

nothing calls this directly

Calls 1

useDaemonLogFeedFunction · 0.90

Tested by

no test coverage detected