Skip to content

Commit

Permalink
[minor] Added test for calling addCallback without a function
Browse files Browse the repository at this point in the history
  • Loading branch information
TalAter committed Apr 10, 2016
1 parent 9b2f95f commit c828706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/spec/BasicSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
it('should always return undefined', function() {
expect(annyang.addCallback()).toEqual(undefined);
expect(annyang.addCallback('blergh')).toEqual(undefined);
expect(annyang.addCallback('start')).toEqual(undefined);
expect(annyang.addCallback('start', function() {})).toEqual(undefined);
expect(annyang.addCallback('start', function() {}, this)).toEqual(undefined);
});
Expand Down

0 comments on commit c828706

Please sign in to comment.