Skip to content

Commit e428f3a

Browse files
committed
Merge branch 'agudulin-master' into tunnckoCore-refactor
# Conflicts: # src/index.js # test/index.js
2 parents f9c8ea3 + af189c4 commit e428f3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ describe('mitt#', () => {
1212
let events, inst;
1313

1414
beforeEach( () => {
15-
inst = mitt();
16-
events = inst.all;
15+
events = Object.create(null);
16+
inst = mitt(events);
1717
});
1818

1919
describe('on()', () => {

0 commit comments

Comments
 (0)