Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ afterEach, beforeEach, describe, expect, it, vi } from
"vitest"
;
2
3
// ---- Mocks ----
4
vi.mock(
"../../db/database"
, () => ({
Callers
nothing calls this directly
Calls
9
setFallbackContentProvider
Function · 0.90
getAvailableTools
Function · 0.90
findTool
Function · 0.85
makeChunk
Function · 0.85
registerFallbackChapters
Function · 0.85
map
Method · 0.80
from
Method · 0.80
makeBook
Function · 0.70
execute
Method · 0.65
Tested by
no test coverage detected