mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
test: drop redundant line info-card default footer case
This commit is contained in:
@@ -18,11 +18,6 @@ describe("createInfoCard", () => {
|
||||
const footer = card.footer as { contents: Array<{ text: string }> };
|
||||
expect(footer.contents[0].text).toBe("Footer text");
|
||||
});
|
||||
|
||||
it("omits footer when not provided", () => {
|
||||
const card = createInfoCard("Title", "Body");
|
||||
expect(card.footer).toBeUndefined();
|
||||
});
|
||||
});
|
||||
|
||||
describe("createListCard", () => {
|
||||
|
||||
Reference in New Issue
Block a user