From f3eb003db955a6fb5b25617158de855c466cc74f Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 07:50:02 +0000 Subject: [PATCH] test: remove redundant quick-reply creation smoke case --- src/line/send.test.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/line/send.test.ts b/src/line/send.test.ts index 5f9317229..51bf5d955 100644 --- a/src/line/send.test.ts +++ b/src/line/send.test.ts @@ -2,14 +2,6 @@ import { describe, expect, it } from "vitest"; import { createQuickReplyItems } from "./send.js"; describe("createQuickReplyItems", () => { - it("creates quick reply items from labels", () => { - const quickReply = createQuickReplyItems(["Option 1", "Option 2", "Option 3"]); - - expect(quickReply.items).toHaveLength(3); - expect((quickReply.items[0].action as { label: string }).label).toBe("Option 1"); - expect((quickReply.items[0].action as { text: string }).text).toBe("Option 1"); - }); - it("limits items to 13 (LINE maximum)", () => { const labels = Array.from({ length: 20 }, (_, i) => `Option ${i + 1}`); const quickReply = createQuickReplyItems(labels);