Tests: Skip jQuery.Deferred.exceptionHook tests in IE 9

The non-deprecated test was already skipped there, the deprecated
one is now skipped as well.

Ref gh-5212
This commit is contained in:
Michał Gołębiowski-Owczarek 2023-03-15 12:21:35 +01:00
parent 18139213ff
commit 98dd622a55
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -619,6 +619,7 @@ QUnit[ window.console ? "test" : "skip" ]( "jQuery.Deferred.exceptionHook", func
defer.resolve();
} );
// Support: IE 9 only
// Test fails in IE9 but is skipped there because console is not active
QUnit[ window.console ? "test" : "skip" ]( "jQuery.Deferred.exceptionHook with stack hooks", function( assert ) {

View File

@ -662,7 +662,10 @@ QUnit.test( "trim", function( assert ) {
} );
if ( includesModule( "deferred" ) ) {
QUnit.test( "jQuery.Deferred.exceptionHook with stack hooks", function( assert ) {
// Support: IE 9 only
// Test fails in IE9 but is skipped there because console is not active
QUnit[ window.console ? "test" : "skip" ]( "jQuery.Deferred.exceptionHook with stack hooks", function( assert ) {
assert.expect( 2 );