mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
test: remove redundant action-card hero passthrough case
This commit is contained in:
@@ -75,14 +75,6 @@ describe("createActionCard", () => {
|
||||
const footer = card.footer as { contents: unknown[] };
|
||||
expect(footer.contents.length).toBe(4);
|
||||
});
|
||||
|
||||
it("includes hero image when provided", () => {
|
||||
const card = createActionCard("Title", "Body", [], {
|
||||
imageUrl: "https://example.com/hero.jpg",
|
||||
});
|
||||
|
||||
expect((card.hero as { url: string }).url).toBe("https://example.com/hero.jpg");
|
||||
});
|
||||
});
|
||||
|
||||
describe("createCarousel", () => {
|
||||
|
||||
Reference in New Issue
Block a user