test: tighten memory flush defaults assertion · openclaw/openclaw@d040d6d
shakkernerd
·
2026-05-08
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -115,7 +115,6 @@ describe("buildMemoryFlushPlan", () => {
|
115 | 115 | |
116 | 116 | it("defaults to safe prompts and gating values", () => { |
117 | 117 | const plan = buildMemoryFlushPlan(); |
118 | | -expect(plan).not.toBeNull(); |
119 | 118 | expect(plan?.softThresholdTokens).toBe(DEFAULT_MEMORY_FLUSH_SOFT_TOKENS); |
120 | 119 | expect(plan?.forceFlushTranscriptBytes).toBe(DEFAULT_MEMORY_FLUSH_FORCE_TRANSCRIPT_BYTES); |
121 | 120 | expect(plan?.prompt).toContain("memory/"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。