test: remove redundant messageAction passthrough case

This commit is contained in:
Peter Steinberger
2026-02-16 07:49:15 +00:00
parent e86647889c
commit 0448693f8f

View File

@@ -13,13 +13,6 @@ import {
} from "./template-messages.js";
describe("messageAction", () => {
it("creates a message action", () => {
const action = messageAction("Click me", "clicked");
expect(action.label).toBe("Click me");
expect((action as { text: string }).text).toBe("clicked");
});
it("uses label as text when text not provided", () => {
const action = messageAction("Click");