






















@@ -90,7 +90,7 @@ describe("runQaManualLane", () => {
9090});
91919292expect(startQaProviderServer).toHaveBeenCalledWith("mock-openai");
93-const [gatewayOptions] = startQaGatewayChild.mock.calls.at(0) ?? [];
93+const [gatewayOptions] = startQaGatewayChild.mock.calls[0] ?? [];
9494expect(gatewayOptions?.repoRoot).toBe("/tmp/openclaw-repo");
9595expect(gatewayOptions?.providerMode).toBe("mock-openai");
9696expect(gatewayOptions?.providerBaseUrl).toBe("http://127.0.0.1:44080/v1");
@@ -120,7 +120,7 @@ describe("runQaManualLane", () => {
120120repoRoot: "/tmp/openclaw-repo",
121121embeddedGateway: "disabled",
122122});
123-const [gatewayOptions] = startQaGatewayChild.mock.calls.at(0) ?? [];
123+const [gatewayOptions] = startQaGatewayChild.mock.calls[0] ?? [];
124124expect(gatewayOptions?.providerMode).toBe("live-frontier");
125125expect(gatewayOptions?.providerBaseUrl).toBeUndefined();
126126expect(result.reply).toBe("Protocol note: mock reply.");
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。