test: remove redundant messageAction default-text case

This commit is contained in:
Peter Steinberger
2026-02-16 07:59:19 +00:00
parent 242e8f5c43
commit 8fd6d4d6dd

View File

@@ -12,12 +12,6 @@ import {
} from "./template-messages.js";
describe("messageAction", () => {
it("uses label as text when text not provided", () => {
const action = messageAction("Click");
expect((action as { text: string }).text).toBe("Click");
});
it("truncates label to 20 characters", () => {
const action = messageAction("This is a very long label that exceeds the limit");