Permit HTMLReporter to render every 250ms
- This is necessary for the user to see spec results fill-in progressively. - There is a slight performance loss. 250 - 500ms seems to deliver the same amount of loss. This is still at parity with Jasmine 1.x
This commit is contained in:
@@ -8,9 +8,10 @@ describe("HtmlReporter", function() {
|
||||
env = new jasmine.Env();
|
||||
env.updateInterval = 0;
|
||||
|
||||
|
||||
body = document.createElement("body");
|
||||
fakeDocument = { body: body, location: { search: "" } };
|
||||
htmlReporter = new jasmine.HtmlReporter(fakeDocument);
|
||||
htmlReporter = new jasmine.HtmlReporter(fakeDocument, null, function(fn) { fn() });
|
||||
});
|
||||
|
||||
function fakeSpec(name) {
|
||||
|
||||
Reference in New Issue
Block a user