mirror of https://github.com/openclaw/openclaw.git
test: drop duplicate line quick-reply wrapper assertion
This commit is contained in:
parent
583345fdfe
commit
3bd961f00a
|
|
@ -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");
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue