mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
test: remove redundant confirm alt-text passthrough case
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user