test: clarify channel streaming labels · openclaw/openclaw@6a9f10e
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -166,7 +166,8 @@ describe("channel-streaming", () => {
|
166 | 166 | }); |
167 | 167 | |
168 | 168 | it("uses auto progress labels when no explicit label is configured", () => { |
169 | | -expect(DEFAULT_PROGRESS_DRAFT_LABELS.every((label) => label.endsWith("..."))).toBe(true); |
| 169 | +const invalidLabels = DEFAULT_PROGRESS_DRAFT_LABELS.filter((label) => !label.endsWith("...")); |
| 170 | +expect(invalidLabels).toEqual([]); |
170 | 171 | expect(resolveChannelProgressDraftLabel({ random: () => 0 })).toBe( |
171 | 172 | DEFAULT_PROGRESS_DRAFT_LABELS[0], |
172 | 173 | ); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。