Merge branch 'main' into 3.99
This commit is contained in:
@@ -4,4 +4,10 @@
|
||||
env.pending('Environment does not support promises');
|
||||
}
|
||||
};
|
||||
|
||||
env.requireNoPromises = function() {
|
||||
if (typeof Promise === 'function') {
|
||||
env.pending('Environment supports promises');
|
||||
}
|
||||
};
|
||||
})(jasmine.getEnv());
|
||||
|
||||
Reference in New Issue
Block a user