diff options
| -rw-r--r-- | test/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/index.js b/test/index.js index 8863dd2..61a3e67 100644 --- a/test/index.js +++ b/test/index.js @@ -12,8 +12,8 @@ describe('mitt#', () => { let events, inst; beforeEach( () => { - inst = mitt(); - events = inst.all; + events = Object.create(null); + inst = mitt(events); }); describe('on()', () => { |
