MCPcopy Create free account
hub / github.com/diillson/chatcli / newTestSessionManager

Function newTestSessionManager

cli/session_search_test.go:10–13  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func newTestSessionManager(t *testing.T) *SessionManager {
11 t.Helper()
12 return &SessionManager{sessionsDir: t.TempDir(), logger: zap.NewNop()}
13}
14
15func TestSearchSessions(t *testing.T) {
16 sm := newTestSessionManager(t)

Callers 4

TestSearchSessionsFunction · 0.85
TestSessionAdapter_ListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected