MCPcopy 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

1import EventEmitter from 'events'
2
3import Sinon, { SinonFakeTimers, SinonStub } from 'sinon'
4import chai from 'chai'

Callers

nothing calls this directly

Calls 12

identifyEventFunction · 0.90
signEventFunction · 0.90
makeValidEventFunction · 0.85
isEventValidMethod · 0.80
addExpirationMetadataMethod · 0.80
processNip05MetadataMethod · 0.80
handleMessageMethod · 0.65
canAcceptEventMethod · 0.45
isRateLimitedMethod · 0.45
isUserAdmittedMethod · 0.45

Tested by

no test coverage detected