test: restore matrix progress draft expectation · openclaw/openclaw@2a8565e
shakkernerd
·
2026-05-08
·
via Recent Commits to openclaw:main
File tree
extensions/matrix/src/matrix/monitor
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2766,7 +2766,7 @@ describe("matrix monitor handler draft streaming", () => {
|
2766 | 2766 | await finish(); |
2767 | 2767 | }); |
2768 | 2768 | |
2769 | | -it("uses resolved Matrix account progress config for draft text", async () => { |
| 2769 | +it("uses resolved Matrix account progress maxLines for draft text", async () => { |
2770 | 2770 | const { dispatch } = createStreamingHarness({ |
2771 | 2771 | streaming: "progress", |
2772 | 2772 | previewToolProgressEnabled: true, |
@@ -2789,7 +2789,7 @@ describe("matrix monitor handler draft streaming", () => {
|
2789 | 2789 | await vi.waitFor(() => { |
2790 | 2790 | expect(sendSingleTextMessageMatrixMock).toHaveBeenCalledTimes(1); |
2791 | 2791 | }); |
2792 | | -expect(sendSingleTextMessageMatrixMock.mock.calls[0]?.[1]).toBe("Pearling\n- `second`"); |
| 2792 | +expect(sendSingleTextMessageMatrixMock.mock.calls[0]?.[1]).toBe("- `second`"); |
2793 | 2793 | await finish(); |
2794 | 2794 | }); |
2795 | 2795 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。