mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 13:41:30 +00:00
test(memory-core): align short-term repair expectations
This commit is contained in:
@@ -1107,10 +1107,10 @@ describe("short-term promotion", () => {
|
||||
|
||||
const repair = await repairShortTermPromotionArtifacts({ workspaceDir });
|
||||
|
||||
expect(repair.changed).toBe(true);
|
||||
expect(repair.rewroteStore).toBe(true);
|
||||
expect(repair.changed).toBe(false);
|
||||
expect(repair.rewroteStore).toBe(false);
|
||||
const nextRaw = await fs.readFile(storePath, "utf-8");
|
||||
expect(nextRaw).not.toBe(raw);
|
||||
expect(nextRaw).toBe(raw);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user