MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / makeStore

Function makeStore

test/fixes-v0.2.1.test.ts:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9describe('SessionStore turn_count accounting (Fix A)', () => {
10 async function makeStore(): Promise<SessionStore> {
11 const tmpDir = await fs.mkdtemp(path.join(os.tmpdir(), 'qodex-session-test-'));
12 return new SessionStore(path.join(tmpDir, 'sessions.db'));
13 }
14
15 it('only bumps turn_count when a batch contains a user message', async () => {
16 const store = await makeStore();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected