MCPcopy
hub / github.com/codedogQBY/ReadAny / tools.test.ts

File tools.test.ts

packages/core/src/ai/__tests__/tools.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
2
3// ---- Mocks ----
4vi.mock("../../db/database", () => ({

Callers

nothing calls this directly

Calls 9

getAvailableToolsFunction · 0.90
findToolFunction · 0.85
makeChunkFunction · 0.85
registerFallbackChaptersFunction · 0.85
mapMethod · 0.80
fromMethod · 0.80
makeBookFunction · 0.70
executeMethod · 0.65

Tested by

no test coverage detected