test: dedupe memory dreaming mock read · openclaw/openclaw@d643d64
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
File tree
extensions/memory-core/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2249,7 +2249,7 @@ describe("short-term dreaming trigger", () => {
|
2249 | 2249 | const dreamsText = await fs.readFile(path.join(workspaceDir, "DREAMS.md"), "utf-8"); |
2250 | 2250 | expect(dreamsText).toContain("A diary entry."); |
2251 | 2251 | }); |
2252 | | -expect(subagent.run.mock.calls.at(0)?.[0]?.model).toBe("anthropic/claude-sonnet-4-6"); |
| 2252 | +expect(subagent.run.mock.calls[0]?.[0]?.model).toBe("anthropic/claude-sonnet-4-6"); |
2253 | 2253 | }); |
2254 | 2254 | |
2255 | 2255 | it("skips dreaming promotion cleanly when limit is zero", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。