mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
test: remove redundant media-player image passthrough case
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
||||
createCarousel,
|
||||
createNotificationBubble,
|
||||
createEventCard,
|
||||
createMediaPlayerCard,
|
||||
createDeviceControlCard,
|
||||
} 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", () => {
|
||||
it("limits controls to 6", () => {
|
||||
const card = createDeviceControlCard({
|
||||
|
||||
Reference in New Issue
Block a user