Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tiann/hapi
/ sessionModel.test.ts
File
sessionModel.test.ts
hub/src/sync/sessionModel.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
'bun:test'
2
import
{ toSessionSummary } from
'@hapi/protocol'
3
import
type
{ SyncEvent } from
'@hapi/protocol/types'
4
import
{ Store } from
'../store'
Callers
nothing calls this directly
Calls
15
registerSessionHandlers
Function · 0.90
toSessionSummary
Function · 0.85
mergeSessions
Method · 0.80
get
Method · 0.80
bind
Method · 0.80
resolveLocalResumeTarget
Method · 0.80
listLocalResumableSessions
Method · 0.80
deduplicateByAgentSessionId
Method · 0.80
mergeSessionHistory
Method · 0.80
clearSessionArchiveMetadata
Method · 0.80
restoreSessionArchiveMetadata
Method · 0.80
createPublisher
Function · 0.70
Tested by
no test coverage detected