MCPcopy Index your code
hub / github.com/developit/mitt / index_test.ts

File index_test.ts

test/index_test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import mitt, { Emitter, EventHandlerMap } from '..';
2import chai, { expect } from 'chai';
3import { spy } from 'sinon';
4import sinonChai from 'sinon-chai';

Callers

nothing calls this directly

Calls 4

mittFunction · 0.85
emitMethod · 0.80
onMethod · 0.80
offMethod · 0.80

Tested by

no test coverage detected