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

Function api

graph-ui/src/app/atlas-api.test.ts:32–35  ·  view source on GitHub ↗
(reply: { ok?: boolean; status?: number; body: string })

Source from the content-addressed store, hash-verified

30}
31
32function api(reply: { ok?: boolean; status?: number; body: string }): { api: AtlasApi; calls: FetchCall[] } {
33 const calls: FetchCall[] = [];
34 return { api: new AtlasApi({ base: 'http://127.0.0.1:9749', fetch: recordingFetch(reply, calls) }), calls };
35}
36
37describe('AtlasApi, the projects routes', () => {
38 it.each(['', 'http://127.0.0.1:9749'])('attributes failed requests to their decoded project with base %s', async (base) => {

Callers 1

atlas-api.test.tsFile · 0.85

Calls 1

recordingFetchFunction · 0.70

Tested by

no test coverage detected