mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-28 05:16:23 -06:00
test: tighten qqbot quote assertion
This commit is contained in:
@@ -271,9 +271,10 @@ describe("buildInboundContext bot self-echo suppression", () => {
|
||||
expect(getRefIndexMock).toHaveBeenCalledWith("REF_BOT");
|
||||
expect(formatRefEntryForAgentMock).toHaveBeenCalled();
|
||||
expect(inbound.blocked).toBe(false);
|
||||
expect(inbound.replyTo).toMatchObject({
|
||||
expect(inbound.replyTo).toStrictEqual({
|
||||
id: "REF_BOT",
|
||||
body: "bot reply",
|
||||
sender: "qq-main",
|
||||
isQuote: true,
|
||||
});
|
||||
expect(deps.startTyping).toHaveBeenCalledTimes(1);
|
||||
|
||||
Reference in New Issue
Block a user