Fixes console check for IE8
- Was causing IE8 to hang for some reason - Also reverts previous commit, not that issue was resolved [#79533268][fixes #80356450]
This commit is contained in:
@@ -65,8 +65,8 @@ describe("New HtmlReporter", function() {
|
||||
|
||||
describe("when a spec is done", function() {
|
||||
it("logs errors to the console and prints a special symbol if it is an empty spec", function() {
|
||||
if (!window.console) {
|
||||
window.console = { error: function(){} };
|
||||
if (typeof console === "undefined") {
|
||||
console = { error: function(){} };
|
||||
}
|
||||
|
||||
var env = new j$.Env(),
|
||||
|
||||
Reference in New Issue
Block a user