mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-20 18:34:46 +00:00
test: dedupe coding tools mock read
This commit is contained in:
@@ -450,7 +450,7 @@ describe("createOpenClawCodingTools", () => {
|
||||
|
||||
expect(createOpenClawToolsMock).not.toHaveBeenCalled();
|
||||
expect(resolvePluginToolsSpy).toHaveBeenCalledTimes(1);
|
||||
const pluginToolOptions = resolvePluginToolsSpy.mock.calls.at(0)?.[0].options;
|
||||
const pluginToolOptions = resolvePluginToolsSpy.mock.calls[0]?.[0].options;
|
||||
expect(pluginToolOptions?.modelProvider).toBe("openrouter");
|
||||
expect(pluginToolOptions?.modelId).toBe("openrouter/auto");
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user