MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / session-index.test.ts

File session-index.test.ts

packages/core/src/query/__tests__/session-index.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Tests for session index functions extracted to core:
3 * hasSessionIndex, getSessionIndexStats, getChatSessionList,
4 * getSegmentSummary, saveSegmentSummary, updateSessionGapThreshold,

Callers

nothing calls this directly

Calls 14

hasSessionIndexFunction · 0.90
generateSessionIndexFunction · 0.90
getSessionIndexStatsFunction · 0.90
getChatSessionListFunction · 0.90
getSegmentSummaryFunction · 0.90
saveSegmentSummaryFunction · 0.90
clearSessionIndexFunction · 0.90
createSqliteDbFunction · 0.85
seedMessagesFunction · 0.85
countRowsFunction · 0.85

Tested by

no test coverage detected