diff --git a/extensions/feishu/src/probe.test.ts b/extensions/feishu/src/probe.test.ts index 89ba57e8309..3fac9d8eb37 100644 --- a/extensions/feishu/src/probe.test.ts +++ b/extensions/feishu/src/probe.test.ts @@ -138,14 +138,12 @@ describe("probeFeishu", () => { await probeFeishu(DEFAULT_CREDS); - expect(requestFn).toHaveBeenCalledWith( - expect.objectContaining({ - method: "POST", - url: "/open-apis/bot/v1/openclaw_bot/ping", - data: { needBotInfo: true }, - timeout: FEISHU_PROBE_REQUEST_TIMEOUT_MS, - }), - ); + expect(requestFn).toHaveBeenCalledWith({ + method: "POST", + url: "/open-apis/bot/v1/openclaw_bot/ping", + data: { needBotInfo: true }, + timeout: FEISHU_PROBE_REQUEST_TIMEOUT_MS, + }); }); it("returns timeout error when request exceeds timeout", async () => {