MCPcopy Create free account
hub / github.com/ehmicky/log-process-errors / getCallCount

Function getCallCount

src/helpers/events.test.js:58–59  ·  view source on GitHub ↗
(eventName)

Source from the content-addressed store, hash-verified

56// `rejectionHandled` also fires an additional event: the initial
57// `unhandledRejection`
58export const getCallCount = (eventName) =>
59 eventName === 'rejectionHandled' ? 2 : 1

Callers 2

repeat.test.jsFile · 0.90
events.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…