mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 01:28:27 +00: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 }> };
|
const footer = card.footer as { contents: Array<{ text: string }> };
|
||||||
expect(footer.contents[0].text).toBe("Footer text");
|
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", () => {
|
describe("createListCard", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user