aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Miller <[email protected]>2017-02-25 16:02:22 -0500
committerJason Miller <[email protected]>2017-02-25 16:02:22 -0500
commite428f3a171a286ca136f6aa08ac84ea4a892282e (patch)
tree895afb92f761f628e4928f27259b602cd28d6a78
parentf9c8ea369183a85af9c94a636af0f68dcc67a571 (diff)
parentaf189c411d79e84ce1f9e349ac5be6a03ff4c55d (diff)
Merge branch 'agudulin-master' into tunnckoCore-refactor
# Conflicts: # src/index.js # test/index.js
-rw-r--r--test/index.js4
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()', () => {