MCPcopy Index your code
hub / github.com/forloopcodes/contextplus / memory-graph.test.mjs

File memory-graph.test.mjs

test/main/memory-graph.test.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, before, after, beforeEach } from "node:test";
2import assert from "node:assert/strict";
3import { mkdir, rm, readFile } from "fs/promises";
4import { join, resolve } from "path";

Callers

nothing calls this directly

Calls 14

mockEmbeddingFunction · 0.85
upsertNodeFunction · 0.85
createRelationFunction · 0.85
searchGraphFunction · 0.85
pruneStaleLinksFunction · 0.85
addInterlinkedContextFunction · 0.85
retrieveWithTraversalFunction · 0.85
getGraphStatsFunction · 0.85
toolUpsertMemoryNodeFunction · 0.85
toolCreateRelationFunction · 0.85
toolSearchMemoryGraphFunction · 0.85
toolPruneStaleLinksFunction · 0.85

Tested by

no test coverage detected