test: pin attachment offload warning · openclaw/openclaw@e3cde42
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -478,7 +478,9 @@ describe("parseMessageWithAttachments validation errors", () => {
|
478 | 478 | expect(parsed.message).toContain( |
479 | 479 | "[image attachment omitted: text-only attachment limit reached]", |
480 | 480 | ); |
481 | | -expect(logs).toContainEqual(expect.stringMatching(/offload limit 10/i)); |
| 481 | +expect(logs).toEqual([ |
| 482 | +"attachment dot-10.png: dropping image because text-only offload limit 10 was reached", |
| 483 | +]); |
482 | 484 | } finally { |
483 | 485 | await cleanupOffloadedRefs(parsed.offloadedRefs); |
484 | 486 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。