Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(test): correct prefix filter test for memory scopes

Steven Enamakel8912224c27fd
diff --git a/scripts/mock-api/routes/__tests__/memory.test.mjs b/scripts/mock-api/routes/__tests__/memory.test.mjs
index 4ee9a816cd..d6aabd5158 100644
--- a/scripts/mock-api/routes/__tests__/memory.test.mjs
+++ b/scripts/mock-api/routes/__tests__/memory.test.mjs
@@ -237,6 +237,6 @@ test("answer is grounded in the pack it is given and refuses an unknown pack", a
test("scopes honours the prefix filter", async () => {
await write("app:tinymemory/app:learnings", "k1", "x");
await write("other:scope", "k2", "y");
- const r = await call("GET", "/memory/scopes?prefix=tm%3Amemory");
+ const r = await call("GET", "/memory/scopes?prefix=app%3Atinymemory");
assert.deepEqual(r.json.data.items.map((i) => i.path), ["app:tinymemory/app:learnings"]);
});