MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / parseSent

Function parseSent

services/session-ingest/src/dos/UserConnectionDO.test.ts:93–97  ·  view source on GitHub ↗
(ws: MockWS, callIndex = 0)

Source from the content-addressed store, hash-verified

91// Mock DurableObjectState (this.ctx)
92// ---------------------------------------------------------------------------
93
94/** In-memory Map-backed KV fake for ctx.storage (put/get/delete/list). */
95function makeStorageFake() {
96 const store = new Map<string, unknown>();
97 return {
98 store,
99 kv: {
100 get: (key: string) => store.get(key),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected