Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ describe, it, expect, vi, beforeEach } from
'vitest'
;
2
3
vi.mock(
'./providers/registry.js'
, () => ({
4
resolveProvider: vi.fn((modelId: string, modelProvider: string) => ({
Callers
nothing calls this directly
Calls
5
resetSession
Function · 0.85
getOrCreateSession
Function · 0.85
getSessionMessages
Function · 0.85
appendUserMessage
Function · 0.85
appendResponseMessages
Function · 0.85
Tested by
no test coverage detected