mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(app): fix failing clickblock tests (#9938)
This commit is contained in:
committed by
Brandy Carney
parent
4461227102
commit
1071be700d
@@ -389,7 +389,7 @@ describe('App', () => {
|
||||
app.setEnabled(false, 200);
|
||||
|
||||
// assert
|
||||
expect(mockClickBlock.activate).toHaveBeenCalledWith(true, 200 + 64);
|
||||
expect(mockClickBlock.activate).toHaveBeenCalledWith(true, 200 + 64, 0);
|
||||
});
|
||||
|
||||
it('should enable click block when false is passed w/o duration', () => {
|
||||
@@ -407,7 +407,7 @@ describe('App', () => {
|
||||
|
||||
// assert
|
||||
// 700 is the default
|
||||
expect(mockClickBlock.activate).toHaveBeenCalledWith(true, 700 + 64);
|
||||
expect(mockClickBlock.activate).toHaveBeenCalledWith(true, 700 + 64, 0);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user