MCPcopy Create free account
hub / github.com/MarsWang42/Awel / session.test.ts

File session.test.ts

packages/cli/src/session.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi, beforeEach } from 'vitest';
2
3vi.mock('./providers/registry.js', () => ({
4 resolveProvider: vi.fn((modelId: string, modelProvider: string) => ({

Callers

nothing calls this directly

Calls 5

resetSessionFunction · 0.85
getOrCreateSessionFunction · 0.85
getSessionMessagesFunction · 0.85
appendUserMessageFunction · 0.85
appendResponseMessagesFunction · 0.85

Tested by

no test coverage detected