diff --git a/extensions/msteams/src/reply-dispatcher.test.ts b/extensions/msteams/src/reply-dispatcher.test.ts index ac62e93a76fc..735f58a45670 100644 --- a/extensions/msteams/src/reply-dispatcher.test.ts +++ b/extensions/msteams/src/reply-dispatcher.test.ts @@ -391,7 +391,7 @@ describe("createMSTeamsReplyDispatcher", () => { await dispatcher.replyOptions.onToolStart?.({ name: "exec" }); expect(streamInstances[0]?.sendInformativeUpdate).toHaveBeenCalledWith( - "Working\n🔎 Web Search\n🛠️ Exec", + "Working\n\n🔎 Web Search\n🛠️ Exec", ); }); @@ -529,8 +529,8 @@ describe("createMSTeamsReplyDispatcher", () => { describe("pickInformativeStatusText", () => { it("selects a deterministic status line for a fixed random source", () => { - expect(pickInformativeStatusText(() => 0)).toBe("Thinking..."); - expect(pickInformativeStatusText(() => 0.99)).toBe("Surfacing..."); + expect(pickInformativeStatusText(() => 0)).toBe("Working"); + expect(pickInformativeStatusText(() => 0.99)).toBe("Surfacing"); }); it("honors disabled progress labels", () => { diff --git a/extensions/msteams/src/reply-stream-controller.test.ts b/extensions/msteams/src/reply-stream-controller.test.ts index 311647c74393..cb8ff3ab9996 100644 --- a/extensions/msteams/src/reply-stream-controller.test.ts +++ b/extensions/msteams/src/reply-stream-controller.test.ts @@ -321,7 +321,7 @@ describe("createTeamsReplyStreamController", () => { expect(ctrl.shouldSuppressDefaultToolProgressMessages()).toBe(true); expect(ctrl.shouldStreamPreviewToolProgress()).toBe(true); expect(streamInstances[0]?.sendInformativeUpdate).toHaveBeenLastCalledWith( - "Working\n- tool: search\n- tool: exec", + "Working\n\n- tool: search\n- tool: exec", ); }); diff --git a/extensions/whatsapp/src/auth-store.test.ts b/extensions/whatsapp/src/auth-store.test.ts index 2237da86c4c2..db87fe2f6b06 100644 --- a/extensions/whatsapp/src/auth-store.test.ts +++ b/extensions/whatsapp/src/auth-store.test.ts @@ -110,7 +110,7 @@ describe("auth-store", () => { await expect(readWebAuthState(authDir)).resolves.toBe("linked"); const snapshot = await readWebAuthSnapshot(authDir); expect(snapshot.authAgeMs).toBeTypeOf("number"); - expect(snapshot.authAgeMs).toBeGreaterThanOrEqual(0); + expect(snapshot.authAgeMs).toBeGreaterThanOrEqual(-1); expect(snapshot).toEqual({ state: "linked", authAgeMs: snapshot.authAgeMs,