mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 19:54:46 +00:00
test: check tool search controls
This commit is contained in:
@@ -205,14 +205,14 @@ describe("runEmbeddedAttempt context engine sessionKey forwarding", () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(hoisted.createOpenClawCodingToolsMock).toHaveBeenCalled();
|
||||
expect(hoisted.createOpenClawCodingToolsMock).toHaveBeenCalledTimes(1);
|
||||
const options = mockParams(
|
||||
hoisted.createOpenClawCodingToolsMock,
|
||||
0,
|
||||
"createOpenClawCodingTools options",
|
||||
);
|
||||
expect(options.includeToolSearchControls).toBe(true);
|
||||
expect(options.toolSearchCatalogRef).toBeTruthy();
|
||||
expect(options.toolSearchCatalogRef).toEqual({});
|
||||
});
|
||||
|
||||
it("sends transcriptPrompt visibly and queues runtime context as hidden custom context", async () => {
|
||||
|
||||
Reference in New Issue
Block a user