Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ chats.test.ts
File
chats.test.ts
packages/node-runtime/src/ai/__tests__/chats.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it } from
'node:test'
2
import
assert from
'node:assert/strict'
3
import
{ mkdtempSync, rmSync } from
'node:fs'
4
import
{ tmpdir } from
'node:os'
Callers
nothing calls this directly
Calls
15
createTestDatabase
Function · 0.85
getHistoryForAgent
Method · 0.80
addSummaryMessage
Method · 0.80
createTempDir
Function · 0.70
createManager
Function · 0.70
cleanup
Function · 0.70
createAIChat
Method · 0.65
addMessage
Method · 0.65
close
Method · 0.65
all
Method · 0.65
prepare
Method · 0.65
pragma
Method · 0.65
Tested by
no test coverage detected