test: remove redundant confirm alt-text passthrough case

This commit is contained in:
Peter Steinberger
2026-02-16 07:42:09 +00:00
parent f74d56bd3b
commit 91337b4b6f

View File

@@ -83,17 +83,6 @@ describe("createConfirmTemplate", () => {
expect((template.template as { text: string }).text.length).toBe(240);
});
it("uses custom altText when provided", () => {
const template = createConfirmTemplate(
"Question?",
messageAction("Yes"),
messageAction("No"),
"Custom alt",
);
expect(template.altText).toBe("Custom alt");
});
});
describe("createButtonTemplate", () => {