Replaced call to self.spec._next() with onComplete() when the test times out.
This is because there is no such function as _next(), and onComplete() seems to do the right thing.
This commit is contained in:
parent
a2041e90a6
commit
6431431dfc
@ -2139,7 +2139,7 @@ jasmine.WaitsForBlock.prototype.execute = function (onComplete) {
|
||||
name: 'timeout',
|
||||
message: message
|
||||
});
|
||||
self.spec._next();
|
||||
onComplete();
|
||||
} else {
|
||||
self.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT;
|
||||
self.env.setTimeout(function () { self.execute(onComplete); }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);
|
||||
|
Loading…
Reference in New Issue
Block a user