diff options
Diffstat (limited to 'test/index_test.ts')
| -rw-r--r-- | test/index_test.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/index_test.ts b/test/index_test.ts index 1f1d9bb..5c25b55 100644 --- a/test/index_test.ts +++ b/test/index_test.ts @@ -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) |
