Skip to content

Commit

Permalink
[test] Work with the new emits API
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Jan 3, 2015
1 parent de062df commit 4166055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ describe('fuse', function () {
fuse(Base, EventEmitter);

var base = new Base()
, emits = base.emits('event', function (arg) {
, emits = base.emits('event', function (next, arg) {
assume(arg).to.equal('bar');
return 'foo';
next(undefined, 'foo');
});

base.once('event', function (data) {
Expand Down

0 comments on commit 4166055

Please sign in to comment.