Load error handling doesn't depend on browser features, so test it everywher
[#24901981]
This commit is contained in:
@@ -2018,8 +2018,6 @@ describe("Env integration", function() {
|
||||
env.execute();
|
||||
});
|
||||
|
||||
describe("In a browser", function() {
|
||||
if (typeof document !== 'undefined') {
|
||||
it('reports errors that occur during loading', function(done) {
|
||||
var global = {
|
||||
setTimeout: function(fn, delay) { setTimeout(fn, delay) },
|
||||
@@ -2053,7 +2051,6 @@ describe("Env integration", function() {
|
||||
|
||||
env.execute();
|
||||
});
|
||||
}
|
||||
|
||||
describe('If suppressLoadErrors was called', function() {
|
||||
it('does not report errors that occur during loading', function(done) {
|
||||
@@ -2078,5 +2075,4 @@ describe("Env integration", function() {
|
||||
env.execute();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user