mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(tap): expect falsy instead of false
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user