MCPcopy 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

1import { describe, it } from 'node:test'
2import assert from 'node:assert/strict'
3import { mkdtempSync, rmSync } from 'node:fs'
4import { tmpdir } from 'node:os'

Callers

nothing calls this directly

Calls 15

createTestDatabaseFunction · 0.85
getHistoryForAgentMethod · 0.80
addSummaryMessageMethod · 0.80
createTempDirFunction · 0.70
createManagerFunction · 0.70
cleanupFunction · 0.70
createAIChatMethod · 0.65
addMessageMethod · 0.65
closeMethod · 0.65
allMethod · 0.65
prepareMethod · 0.65
pragmaMethod · 0.65

Tested by

no test coverage detected