test(tap): expect falsy instead of false

This commit is contained in:
Andrew Joslin
2014-05-14 08:41:24 -06:00
parent df9c0747c9
commit 0ed975124d

View File

@@ -314,7 +314,7 @@ describe('Ionic Tap', function() {
stopPropagation: function() { this.stoppedPropagation = true; },
preventDefault: function() { this.preventedDefault = true; }
};
expect( tapMouseUp(e) ).toEqual(false);
expect( tapMouseUp(e) ).toBeFalsy();
expect( e.stoppedPropagation ).toBeUndefined();
expect( e.preventedDefault ).toBeUndefined();
});