Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cameri/nostream
/ event-message-handler.spec.ts
File
event-message-handler.spec.ts
test/unit/handlers/event-message-handler.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
EventEmitter from
'events'
2
3
import
Sinon, { SinonFakeTimers, SinonStub } from
'sinon'
4
import
chai from
'chai'
Callers
nothing calls this directly
Calls
12
identifyEvent
Function · 0.90
signEvent
Function · 0.90
makeValidEvent
Function · 0.85
isEventValid
Method · 0.80
isBlockedByRequestToVanish
Method · 0.80
checkNip05Verification
Method · 0.80
addExpirationMetadata
Method · 0.80
processNip05Metadata
Method · 0.80
handleMessage
Method · 0.65
canAcceptEvent
Method · 0.45
isRateLimited
Method · 0.45
isUserAdmitted
Method · 0.45
Tested by
no test coverage detected