test: remove redundant action-card hero passthrough case

This commit is contained in:
Peter Steinberger
2026-02-16 07:39:50 +00:00
parent 5997a4b0ef
commit 56d0ad6942

View File

@@ -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", () => {