test: check tool search controls · openclaw/openclaw@724e7db
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
File tree
src/agents/pi-embedded-runner/run
| Original file line number | Diff line number | Diff line change |
|---|
@@ -205,14 +205,14 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => {
|
205 | 205 | }, |
206 | 206 | }); |
207 | 207 | |
208 | | -expect(hoisted.createOpenClawCodingToolsMock).toHaveBeenCalled(); |
| 208 | +expect(hoisted.createOpenClawCodingToolsMock).toHaveBeenCalledTimes(1); |
209 | 209 | const options = mockParams( |
210 | 210 | hoisted.createOpenClawCodingToolsMock, |
211 | 211 | 0, |
212 | 212 | "createOpenClawCodingTools options", |
213 | 213 | ); |
214 | 214 | expect(options.includeToolSearchControls).toBe(true); |
215 | | -expect(options.toolSearchCatalogRef).toBeTruthy(); |
| 215 | +expect(options.toolSearchCatalogRef).toEqual({}); |
216 | 216 | }); |
217 | 217 | |
218 | 218 | it("sends transcriptPrompt visibly and queues runtime context as hidden custom context", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。