test: assert followup collect prompts · openclaw/openclaw@a62b8c7
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -574,9 +574,9 @@ describe("followup queue collect routing", () => {
|
574 | 574 | await done.promise; |
575 | 575 | |
576 | 576 | expect(calls.map((call) => call.prompt)).toEqual([ |
577 | | -expect.stringContaining("first"), |
578 | | -expect.stringContaining("second"), |
579 | | -expect.stringContaining("third"), |
| 577 | +"[Queued messages while agent was busy]\n\n---\nQueued #1 (from A)\nfirst", |
| 578 | +"[Queued messages while agent was busy]\n\n---\nQueued #1 (from Owner)\nsecond", |
| 579 | +"[Queued messages while agent was busy]\n\n---\nQueued #1 (from A)\nthird", |
580 | 580 | ]); |
581 | 581 | }); |
582 | 582 | |
@@ -814,8 +814,8 @@ describe("followup queue collect routing", () => {
|
814 | 814 | expect(guestAttempts).toHaveLength(1); |
815 | 815 | expect(ownerAttempts).toHaveLength(2); |
816 | 816 | expect(successfulCalls.map((call) => call.prompt)).toEqual([ |
817 | | -expect.stringContaining("guest message"), |
818 | | -expect.stringContaining("owner message"), |
| 817 | +"[Queued messages while agent was busy]\n\n---\nQueued #1 (from Guest)\nguest message", |
| 818 | +"[Queued messages while agent was busy]\n\n---\nQueued #1 (from Owner)\nowner message", |
819 | 819 | ]); |
820 | 820 | }); |
821 | 821 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。