Remove jasmine.CATCH_EXCEPTIONS
- HTMLReporters should be rewritten to make this sort of thing easier. - Fix HTMLReporter try/catch switch - We can't really call resultCallback & throw, so that's been reverted for now.
This commit is contained in:
@@ -11,7 +11,10 @@ describe("HtmlReporter", function() {
|
||||
|
||||
body = document.createElement("body");
|
||||
fakeDocument = { body: body, location: { search: "" } };
|
||||
htmlReporter = new jasmine.HtmlReporter(fakeDocument, null, function(fn) { fn() });
|
||||
htmlReporter = new jasmine.HtmlReporter(fakeDocument, null, {
|
||||
catchingExceptions: function() { return true; },
|
||||
catchExceptions: function() { }
|
||||
}, {yieldForRender: function(fn) { fn() }});
|
||||
});
|
||||
|
||||
function fakeSpec(name) {
|
||||
|
||||
Reference in New Issue
Block a user