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:
@@ -72,7 +72,7 @@ jasmineRequire.HtmlReporter = function(j$) {
|
||||
|
||||
var failures = [];
|
||||
this.specDone = function(result) {
|
||||
if(noExpectations(result) && console && console.error) {
|
||||
if(noExpectations(result) && typeof console !== 'undefined' && typeof console.error !== 'undefined') {
|
||||
console.error('Spec \'' + result.fullName + '\' has no expectations.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user