Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameri/nostream
/ subscribe-message-handler.spec.ts
File
subscribe-message-handler.spec.ts
test/unit/handlers/subscribe-message-handler.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ always } from
'ramda'
2
import
chai from
'chai'
3
import
chaiAsPromised from
'chai-as-promised'
4
import
EventEmitter from
'events'
Callers
nothing calls this directly
Calls
6
toDbEvent
Function · 0.85
fetch
Function · 0.85
fetchAndSend
Method · 0.80
isClientSubscribedToEvent
Method · 0.80
canSubscribe
Method · 0.80
handleMessage
Method · 0.65
Tested by
no test coverage detected