diff options
Diffstat (limited to 'test/index.js')
| -rw-r--r-- | test/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/index.js b/test/index.js index a837d36..473e92e 100644 --- a/test/index.js +++ b/test/index.js @@ -30,6 +30,14 @@ describe('mitt#', () => { inst = mitt(events); }); + describe('properties', () => { + it('should expose the event handler map', () => { + expect(inst) + .to.have.property('all') + .that.is.a('map'); + }); + }); + describe('on()', () => { it('should be a function', () => { expect(inst) |
