test: drop redundant line info-card default footer case
This commit is contained in:
parent
223e2a7127
commit
720aa3c1e6
@ -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", () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user