Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: assert foreign memory is never archived with the single-arg call (#9199)

Adam Eivy3c9e3371081c
diff --git a/server/services/persistentMindContext.test.js b/server/services/persistentMindContext.test.js
index 0fea74c07e..3439e0349f 100644
--- a/server/services/persistentMindContext.test.js
+++ b/server/services/persistentMindContext.test.js
@@ -398,7 +398,7 @@ describe('persistent mind memory cleanup', () => {
await expect(archivePersistentMindMemories()).resolves.toEqual({ archived: 1, preserved: 0 });
expect(mock.memoryApi.archiveMemory).toHaveBeenCalledWith('memory-owned');
- expect(mock.memoryApi.archiveMemory).not.toHaveBeenCalledWith('memory-foreign', expect.anything());
+ expect(mock.memoryApi.archiveMemory).not.toHaveBeenCalledWith('memory-foreign');
});
});