diff options
| author | Jakob Linskeseder <[email protected]> | 2020-06-03 21:41:20 +0200 |
|---|---|---|
| committer | Jakob Linskeseder <[email protected]> | 2020-06-03 21:41:20 +0200 |
| commit | 2c85f0900f5fd1d12844d0f61cafa27a739d4346 (patch) | |
| tree | ebd2725f494697fbf1272f76f73b33622b1fcbf7 /test | |
| parent | 59591757df1a563274e56ee1f80a54818834afca (diff) | |
Expose `all` property
Relates to #70 #72 #102
Diffstat (limited to 'test')
| -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) |
