mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:10:44 +00:00
test: avoid bundled channel cold loads in message tool tests
This commit is contained in:
@@ -143,6 +143,12 @@ vi.mock("../../cli/command-secret-targets.js", () => ({
|
||||
getScopedChannelsCommandSecretTargets: mocks.getScopedChannelsCommandSecretTargets,
|
||||
}));
|
||||
|
||||
vi.mock("../../channels/plugins/message-tool-api.js", () => ({
|
||||
resolveBundledChannelMessageToolDiscoveryAdapter: () => ({
|
||||
describeMessageTool: () => ({ actions: ["send"], capabilities: [] }),
|
||||
}),
|
||||
}));
|
||||
|
||||
vi.mock("./agents-list-tool.js", () => ({
|
||||
createAgentsListTool: () => openClawToolsFactoryMocks.tool("agents"),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user