Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codedogQBY/ReadAny
/ thread-queries.test.ts
File
thread-queries.test.ts
packages/core/src/db/__tests__/thread-queries.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
type
{ Thread } from
"../../types"
;
2
import
{ afterEach, beforeEach, describe, expect, it, vi } from
"vitest"
;
3
4
const
mockExecute = vi.fn();
Callers
nothing calls this directly
Calls
7
getThreads
Function · 0.85
getThread
Function · 0.85
insertThread
Function · 0.85
updateThreadTitle
Function · 0.85
updateThreadMemory
Function · 0.85
deleteThread
Function · 0.85
deleteThreadsByBookId
Function · 0.85
Tested by
no test coverage detected