test: remove redundant image-card aspect ratio passthrough case
This commit is contained in:
parent
56d0ad6942
commit
f74d56bd3b
@ -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", () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user