Print afterAllExceptions to the console.

- Add afterAllException function to ConsoleReporter
- Print the stack traces of the errors at the end of the console output

[#67055730]
This commit is contained in:
Christopher Amavisca and Greg Cobb
2014-03-06 15:02:55 -08:00
parent 97ae9a2d88
commit 6caf4c5de2
4 changed files with 53 additions and 7 deletions

View File

@@ -47,7 +47,15 @@ var jasmineInterface = {
jsApiReporter: new jasmine.JsApiReporter({
timer: new jasmine.Timer()
})
}),
beforeAll: function(beforeAllFunction) {
return env.beforeAll(beforeAllFunction);
},
afterAll: function(afterAllFunction) {
return env.afterAll(afterAllFunction);
}
};
extend(global, jasmineInterface);