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

Function newTestCLIWithMemory

cli/memory_extras_test.go:12–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func newTestCLIWithMemory(t *testing.T) *ChatCLI {
13 t.Helper()
14 ms := workspace.NewMemoryStore(t.TempDir(), zap.NewNop())
15 return &ChatCLI{memoryStore: ms}
16}
17
18func TestMemoryPluginAdapter(t *testing.T) {
19 cli := newTestCLIWithMemory(t)

Callers 2

TestMemoryPluginAdapterFunction · 0.85
TestBuildKnowledgeGraphFunction · 0.85

Calls 1

NewMemoryStoreFunction · 0.92

Tested by

no test coverage detected