test: drop duplicate line quick-reply wrapper assertion
This commit is contained in:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user