From 03d9bc14b508c76a21cf76a2f152c0d4c2c9b016 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 11 May 2026 14:18:13 +0100 Subject: [PATCH] test: fix progress draft truncation expectations --- src/plugin-sdk/channel-streaming.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin-sdk/channel-streaming.test.ts b/src/plugin-sdk/channel-streaming.test.ts index d6c33b9aefc..002a37b964b 100644 --- a/src/plugin-sdk/channel-streaming.test.ts +++ b/src/plugin-sdk/channel-streaming.test.ts @@ -243,14 +243,14 @@ describe("channel-streaming", () => { entry: { streaming: { progress: { label: false } } }, lines: line ? [line] : [], }), - ).toBe("🩹 1 modified; extensions/discord/src/monitor/message-handler.draft-prev…"); + ).toBe("🩹 1 modified; extensions/discord/src/monitor/message-handler.draft-preview.ts"); }); it("bounds progress draft line length to reduce edit reflow", () => { expect( formatChannelProgressDraftText({ entry: { streaming: { progress: { label: "Shelling" } } }, - lines: ["x".repeat(80)], + lines: ["x".repeat(160)], formatLine: (line) => `\`${line}\``, }), ).toBe(`Shelling\n• \`${"x".repeat(107)}…\``);