mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
test: remove redundant image-card aspect ratio passthrough case
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user