test: remove redundant image-card aspect ratio passthrough case

This commit is contained in:
Peter Steinberger
2026-02-16 07:40:45 +00:00
parent 56d0ad6942
commit f74d56bd3b

View File

@@ -54,14 +54,6 @@ describe("createImageCard", () => {
expect(body.contents.length).toBe(2);
expect(body.contents[1].text).toBe("Body text");
});
it("applies custom aspect ratio", () => {
const card = createImageCard("https://example.com/img.jpg", "Title", undefined, {
aspectRatio: "16:9",
});
expect((card.hero as { aspectRatio: string }).aspectRatio).toBe("16:9");
});
});
describe("createActionCard", () => {