rename afterAllException to afterAllError

It should also handle expectation failures
This commit is contained in:
Gregg Van Hove
2014-04-18 16:00:02 -07:00
parent 668846147c
commit 0d4b04d37c
8 changed files with 17 additions and 17 deletions

View File

@@ -51,7 +51,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
queueableFn.fn.call(self.userContext);
} catch (e) {
if(queueableFn.isAfterAll){
runner.reporter.afterAllException(e);
runner.reporter.afterAllError(e);
}
handleException(e);
}
@@ -78,7 +78,7 @@ getJasmineRequireObj().QueueRunner = function(j$) {
queueableFn.fn.call(self.userContext, next);
} catch (e) {
if(queueableFn.isAfterAll) {
runner.reporter.afterAllException(e);
runner.reporter.afterAllError(e);
}
handleException(e);
next();