MCPcopy
hub / github.com/coder/mux / testTool

Function testTool

src/node/services/mcpServerManager.test.ts:47–49  ·  view source on GitHub ↗
(result: unknown = { ok: true })

Source from the content-addressed store, hash-verified

45}
46
47function testTool(result: unknown = { ok: true }): Tool {
48 return { execute: mock(() => Promise.resolve(result)) } as unknown as Tool;
49}
50
51function testInstance(
52 name: string,

Callers 1

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected