test: drop duplicate line quick-reply wrapper assertion

This commit is contained in:
Peter Steinberger
2026-02-16 07:10:19 +00:00
parent 583345fdfe
commit 3bd961f00a

View File

@@ -69,12 +69,4 @@ describe("createTextMessageWithQuickReplies", () => {
expect(message.quickReply.items).toHaveLength(0);
});
it("quick replies use label as both label and text", () => {
const message = createTextMessageWithQuickReplies("Pick one:", ["Apple", "Banana"]);
const firstAction = message.quickReply.items[0].action as { label: string; text: string };
expect(firstAction.label).toBe("Apple");
expect(firstAction.text).toBe("Apple");
});
});