mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
test(core-memory-store): add assertion for missing memory retrieval
This commit is contained in:
@@ -77,6 +77,8 @@ describe('CoreMemoryStore', async () => {
|
||||
assert.equal(created.content, 'Hello world');
|
||||
assert.equal(created.archived, false);
|
||||
|
||||
assert.equal(store.getMemory('CMEM-MISSING'), null);
|
||||
|
||||
const fetched = store.getMemory('CMEM-TEST-1');
|
||||
assert.ok(fetched);
|
||||
assert.equal(fetched?.summary, 'Greeting');
|
||||
@@ -176,4 +178,3 @@ describe('CoreMemoryStore', async () => {
|
||||
assert.equal(mod.findMemoryAcrossProjects('CMEM-NOT-THERE'), null);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user