diff options
Diffstat (limited to 'tests/unit/checkboxradio/core.js')
-rw-r--r-- | tests/unit/checkboxradio/core.js | 10 |
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 ) { |