From 9656cd365be32ec0be1b3da9336d67787eae35a2 Mon Sep 17 00:00:00 2001 From: Shakker Date: Tue, 12 May 2026 21:46:17 +0100 Subject: [PATCH] test: erase discord progress labels --- .../discord/src/monitor/message-handler.process.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/discord/src/monitor/message-handler.process.test.ts b/extensions/discord/src/monitor/message-handler.process.test.ts index ae07f81e39d..9875348e8a0 100644 --- a/extensions/discord/src/monitor/message-handler.process.test.ts +++ b/extensions/discord/src/monitor/message-handler.process.test.ts @@ -1777,7 +1777,7 @@ describe("processDiscordMessage draft streaming", () => { "Clawing...\n🩹 1 modified; extensions/discord/src/monitor/message-handler.draft-prev…", ); const updates = draftStream.update.mock.calls.map((call) => call[0]); - expect(updates.every((update) => !update.includes("Apply Patch"))).toBe(true); + expect(updates.join("\n")).not.toContain("Apply Patch"); }); it("shows reasoning text instead of a bare Reasoning progress line", async () => { @@ -1811,7 +1811,7 @@ describe("processDiscordMessage draft streaming", () => { "Clawing...\nšŸ› ļø Exec\n• _Reading the event projector_", ); const updates = draftStream.update.mock.calls.map((call) => call[0]); - expect(updates.every((update) => !update.includes("Reasoning"))).toBe(true); + expect(updates.join("\n")).not.toContain("Reasoning"); }); it("replaces reasoning snapshots instead of appending duplicates", async () => { @@ -1843,7 +1843,7 @@ describe("processDiscordMessage draft streaming", () => { "Clawing...\nšŸ› ļø Exec\n• _Checking files and tests_", ); const updates = draftStream.update.mock.calls.map((call) => call[0]); - expect(updates.some((update) => update.includes("_Checking files_Reasoning:"))).toBe(false); + expect(updates.join("\n")).not.toContain("_Checking files_Reasoning:"); }); it("keeps Discord progress lines across assistant boundaries", async () => {