test(app): fix failing clickblock tests (#9938)

This commit is contained in:
Justin Willis
2017-01-10 11:03:33 -06:00
committed by Brandy Carney
parent 4461227102
commit 1071be700d

View File

@@ -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);
});
});