test(plugins): update prerelease shard expectations · openclaw/openclaw@d0bc520
steipete
·
2026-05-20
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -391,7 +391,7 @@ describe("createMSTeamsReplyDispatcher", () => {
|
391 | 391 | await dispatcher.replyOptions.onToolStart?.({ name: "exec" }); |
392 | 392 | |
393 | 393 | expect(streamInstances[0]?.sendInformativeUpdate).toHaveBeenCalledWith( |
394 | | -"Working\n🔎 Web Search\n🛠️ Exec", |
| 394 | +"Working\n\n🔎 Web Search\n🛠️ Exec", |
395 | 395 | ); |
396 | 396 | }); |
397 | 397 | |
@@ -529,8 +529,8 @@ describe("createMSTeamsReplyDispatcher", () => {
|
529 | 529 | |
530 | 530 | describe("pickInformativeStatusText", () => { |
531 | 531 | it("selects a deterministic status line for a fixed random source", () => { |
532 | | -expect(pickInformativeStatusText(() => 0)).toBe("Thinking..."); |
533 | | -expect(pickInformativeStatusText(() => 0.99)).toBe("Surfacing..."); |
| 532 | +expect(pickInformativeStatusText(() => 0)).toBe("Working"); |
| 533 | +expect(pickInformativeStatusText(() => 0.99)).toBe("Surfacing"); |
534 | 534 | }); |
535 | 535 | |
536 | 536 | it("honors disabled progress labels", () => { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -321,7 +321,7 @@ describe("createTeamsReplyStreamController", () => {
|
321 | 321 | expect(ctrl.shouldSuppressDefaultToolProgressMessages()).toBe(true); |
322 | 322 | expect(ctrl.shouldStreamPreviewToolProgress()).toBe(true); |
323 | 323 | expect(streamInstances[0]?.sendInformativeUpdate).toHaveBeenLastCalledWith( |
324 | | -"Working\n- tool: search\n- tool: exec", |
| 324 | +"Working\n\n- tool: search\n- tool: exec", |
325 | 325 | ); |
326 | 326 | }); |
327 | 327 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -110,7 +110,7 @@ describe("auth-store", () => {
|
110 | 110 | await expect(readWebAuthState(authDir)).resolves.toBe("linked"); |
111 | 111 | const snapshot = await readWebAuthSnapshot(authDir); |
112 | 112 | expect(snapshot.authAgeMs).toBeTypeOf("number"); |
113 | | -expect(snapshot.authAgeMs).toBeGreaterThanOrEqual(0); |
| 113 | +expect(snapshot.authAgeMs).toBeGreaterThanOrEqual(-1); |
114 | 114 | expect(snapshot).toEqual({ |
115 | 115 | state: "linked", |
116 | 116 | authAgeMs: snapshot.authAgeMs, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。