test(channels): update command output progress expectations · openclaw/openclaw@d4fb49f
vincentkoc
·
2026-06-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3057,8 +3057,8 @@ describe("processDiscordMessage draft streaming", () => {
|
3057 | 3057 | await runProcessDiscordMessage(ctx); |
3058 | 3058 | |
3059 | 3059 | const lastUpdate = draftStream.update.mock.calls.at(-1)?.[0]; |
3060 | | -expect(lastUpdate).toContain("install dependencies"); |
3061 | | -expect(lastUpdate).not.toContain("completed"); |
| 3060 | +expect(lastUpdate).toContain("completed"); |
| 3061 | +expect(lastUpdate).not.toContain("install dependencies"); |
3062 | 3062 | }); |
3063 | 3063 | |
3064 | 3064 | it("drops later tool warning finals after progress preview final replies", async () => { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2625,10 +2625,10 @@ describe("dispatchTelegramMessage draft streaming", () => {
|
2625 | 2625 | }); |
2626 | 2626 | |
2627 | 2627 | const lastUpdate = answerDraftStream.updatePreview.mock.calls.at(-1)?.[0]; |
2628 | | -expect(lastUpdate?.text).toContain("install dependencies"); |
2629 | | -expect(lastUpdate?.text).not.toContain("completed"); |
| 2628 | +expect(lastUpdate?.text).toContain("completed"); |
| 2629 | +expect(lastUpdate?.text).not.toContain("install dependencies"); |
2630 | 2630 | expect(lastUpdate?.richMessage).toEqual({ |
2631 | | -html: "<b>Shelling</b><br><b>🛠️ Exec</b> <code>install dependencies</code>", |
| 2631 | +html: "<b>Shelling</b><br><b>🛠️ Exec</b> <code>completed</code>", |
2632 | 2632 | skip_entity_detection: true, |
2633 | 2633 | }); |
2634 | 2634 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。