Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mohayonao committed Dec 7, 2015
1 parent 72087d6 commit 299f642
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -7,8 +7,8 @@
"url": "https://github.com/mohayonao/mml-emitter/issues"
},
"dependencies": {
"mml-iterator": "^0.5.0",
"seq-emitter": "^1.0.0",
"mml-iterator": "^1.0.0",
"seq-emitter": "^1.1.0",
"strip-comments": "^0.4.1"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions test/MMLEmitter.js
Expand Up @@ -70,7 +70,7 @@ describe("MMLEmitter", () => {

tickable.tick(1000);
emitter.on("note", onNote);
emitter.on("end", onEnd);
emitter.on("end:all", onEnd);
emitter.start();

tickable.tick(250);
Expand Down Expand Up @@ -112,13 +112,13 @@ describe("MMLEmitter", () => {

tickable.tick(250);
assert(onNote.callCount === 0);
assert(onEnd.callCount === 1);
assert.deepEqual(onEnd.args[0][0], { type: "end", playbackTime: 2.5 });
assert(onEnd.callCount === 0);
onEnd.reset();

tickable.tick(250);
assert(onNote.callCount === 0);
assert(onEnd.callCount === 0);
assert(onEnd.callCount === 1);
assert.deepEqual(onEnd.args[0][0], { type: "end:all", playbackTime: 2.75 });
});
});
});

0 comments on commit 299f642

Please sign in to comment.