test: tighten memory promotion signal assertions · openclaw/openclaw@61f5b68
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1733,8 +1733,8 @@ describe("memory cli", () => {
|
1733 | 1733 | "0", |
1734 | 1734 | ]); |
1735 | 1735 | |
1736 | | -expect(log).toHaveBeenCalledWith(expect.stringContaining("consolidate=")); |
1737 | | -expect(log).toHaveBeenCalledWith(expect.stringContaining("concepts=")); |
| 1736 | +expectLogged(log, "recalls=2 avg=0.890 queries=2 age=1.0d consolidate=0.30 conceptual=1.00"); |
| 1737 | +expectLogged(log, "concepts=backup, glacier, qmd, router, vlan, configured"); |
1738 | 1738 | expect(close).toHaveBeenCalled(); |
1739 | 1739 | }); |
1740 | 1740 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。