From bf2d78505ecec1c8e0cf5c0d3a7130858704b19e Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 07:43:03 +0000 Subject: [PATCH] test: remove redundant notification title passthrough case --- src/line/flex-templates.test.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/line/flex-templates.test.ts b/src/line/flex-templates.test.ts index bf7a5c896..db6cd46ef 100644 --- a/src/line/flex-templates.test.ts +++ b/src/line/flex-templates.test.ts @@ -5,7 +5,6 @@ import { createImageCard, createActionCard, createCarousel, - createNotificationBubble, createEventCard, createDeviceControlCard, } from "./flex-templates.js"; @@ -78,17 +77,6 @@ describe("createCarousel", () => { }); }); -describe("createNotificationBubble", () => { - it("includes title when provided", () => { - const bubble = createNotificationBubble("Details here", { - title: "Alert Title", - }); - const body = bubble.body as { contents: Array<{ contents?: Array<{ text?: string }> }> }; - const contentSection = body.contents[1] as { contents: Array<{ text?: string }> }; - expect(contentSection.contents[0].text).toBe("Alert Title"); - }); -}); - describe("createDeviceControlCard", () => { it("limits controls to 6", () => { const card = createDeviceControlCard({