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

Function createTestTool

src/node/services/tools/file_edit_insert.test.ts:16–23  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

14};
15
16function createTestTool(cwd: string) {
17 return createFileEditInsertTool({
18 ...getTestDeps(),
19 cwd,
20 runtime: createRuntime({ type: "local", srcBaseDir: cwd }),
21 runtimeTempDir: cwd,
22 });
23}
24
25describe("file_edit_insert tool", () => {
26 let testDir: string;

Callers 1

Calls 3

createFileEditInsertToolFunction · 0.90
getTestDepsFunction · 0.90
createRuntimeFunction · 0.90

Tested by

no test coverage detected