Oops, shouldn't onComplete there.
This commit is contained in:
parent
11292ff83c
commit
03d7bfb7d4
@ -30,7 +30,6 @@ jasmine.WaitsForBlock.prototype.execute = function (onComplete) {
|
|||||||
name: 'timeout',
|
name: 'timeout',
|
||||||
message: message
|
message: message
|
||||||
});
|
});
|
||||||
onComplete();
|
|
||||||
} else {
|
} else {
|
||||||
self.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT;
|
self.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT;
|
||||||
self.env.setTimeout(function () { self.execute(onComplete); }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);
|
self.env.setTimeout(function () { self.execute(onComplete); }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);
|
||||||
|
Loading…
Reference in New Issue
Block a user