diff --git a/src/WaitsForBlock.js b/src/WaitsForBlock.js index f5f3d2c..67103b7 100644 --- a/src/WaitsForBlock.js +++ b/src/WaitsForBlock.js @@ -30,7 +30,6 @@ jasmine.WaitsForBlock.prototype.execute = function (onComplete) { name: 'timeout', message: message }); - onComplete(); } else { self.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT; self.env.setTimeout(function () { self.execute(onComplete); }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);