From 9e67f9d889ac118de0ee413fffc7034fbd410881 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 05:36:55 +0000 Subject: [PATCH] test: remove duplicate invalid slash-button case --- src/slack/monitor/slash.test.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/slack/monitor/slash.test.ts b/src/slack/monitor/slash.test.ts index bd7dd629832..1b1dc06fde3 100644 --- a/src/slack/monitor/slash.test.ts +++ b/src/slack/monitor/slash.test.ts @@ -218,22 +218,6 @@ describe("Slack native command argument menus", () => { }); }); - it("falls back to postEphemeral with token when respond is unavailable", async () => { - await argMenuHandler({ - ack: vi.fn().mockResolvedValue(undefined), - action: { value: "garbage" }, - body: { user: { id: "U1" }, channel: { id: "C1" } }, - }); - - expect(harness.postEphemeral).toHaveBeenCalledWith( - expect.objectContaining({ - token: "bot-token", - channel: "C1", - user: "U1", - }), - ); - }); - it("treats malformed percent-encoding as an invalid button (no throw)", async () => { await argMenuHandler({ ack: vi.fn().mockResolvedValue(undefined),