mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 08:31:41 +00:00
test: drop low-signal line media player footer assertion
This commit is contained in:
@@ -125,20 +125,6 @@ describe("createMediaPlayerCard", () => {
|
|||||||
expect(card.hero).toBeDefined();
|
expect(card.hero).toBeDefined();
|
||||||
expect((card.hero as { url: string }).url).toBe("https://example.com/album.jpg");
|
expect((card.hero as { url: string }).url).toBe("https://example.com/album.jpg");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("includes playback controls", () => {
|
|
||||||
const card = createMediaPlayerCard({
|
|
||||||
title: "Track",
|
|
||||||
controls: {
|
|
||||||
previous: { data: "action=prev" },
|
|
||||||
play: { data: "action=play" },
|
|
||||||
pause: { data: "action=pause" },
|
|
||||||
next: { data: "action=next" },
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
expect(card.footer).toBeDefined();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("createDeviceControlCard", () => {
|
describe("createDeviceControlCard", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user