test: remove redundant media-player image passthrough case

This commit is contained in:
Peter Steinberger
2026-02-16 07:39:01 +00:00
parent 720aa3c1e6
commit 5997a4b0ef

View File

@@ -7,7 +7,6 @@ import {
createCarousel, createCarousel,
createNotificationBubble, createNotificationBubble,
createEventCard, createEventCard,
createMediaPlayerCard,
createDeviceControlCard, createDeviceControlCard,
} from "./flex-templates.js"; } from "./flex-templates.js";
@@ -106,17 +105,6 @@ describe("createNotificationBubble", () => {
}); });
}); });
describe("createMediaPlayerCard", () => {
it("includes album art when provided", () => {
const card = createMediaPlayerCard({
title: "Track Name",
imageUrl: "https://example.com/album.jpg",
});
expect((card.hero as { url: string }).url).toBe("https://example.com/album.jpg");
});
});
describe("createDeviceControlCard", () => { describe("createDeviceControlCard", () => {
it("limits controls to 6", () => { it("limits controls to 6", () => {
const card = createDeviceControlCard({ const card = createDeviceControlCard({