aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/checkboxradio
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-01 00:54:19 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-05-15 00:38:40 +0200
commitbb49bd794bc8ea4238162725b518fb46234f3cf9 (patch)
treedb7b6152daac9f2c6b5fd051ab5d3b7ec7382791 /tests/unit/checkboxradio
parentdaa6fb55b35065c49c0ffc879c94627bbf85404c (diff)
downloadjquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.tar.gz
jquery-ui-bb49bd794bc8ea4238162725b518fb46234f3cf9.zip
All: Drop support for IE & some other browsers (but mostly IE)
Closes gh-2249
Diffstat (limited to 'tests/unit/checkboxradio')
-rw-r--r--tests/unit/checkboxradio/core.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/unit/checkboxradio/core.js b/tests/unit/checkboxradio/core.js
index ad27f1be0..f218cc1cd 100644
--- a/tests/unit/checkboxradio/core.js
+++ b/tests/unit/checkboxradio/core.js
@@ -33,7 +33,6 @@ QUnit.test( "Radios - Initial class structure", function( assert ) {
} );
QUnit.test( "Ensure checked after single click on checkbox label button", function( assert ) {
- var ready = assert.async();
assert.expect( 2 );
$( "#check2" ).checkboxradio().on( "change", function() {
@@ -43,14 +42,7 @@ QUnit.test( "Ensure checked after single click on checkbox label button", functi
assert.hasClasses( label, "ui-state-active" );
} );
- // Support: Opera
- // Opera doesn't trigger a change event when this is done synchronously.
- // This seems to be a side effect of another test, but until that can be
- // tracked down, this delay will have to do.
- setTimeout( function() {
- $( "#check2" ).checkboxradio( "widget" ).simulate( "click" );
- ready();
- } );
+ $( "#check2" ).checkboxradio( "widget" ).simulate( "click" );
} );
QUnit.test( "Handle form association via form attribute", function( assert ) {