aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/effects/core.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/effects/core.js b/tests/unit/effects/core.js
index 7ae56aef5..b8da50d5d 100644
--- a/tests/unit/effects/core.js
+++ b/tests/unit/effects/core.js
@@ -146,12 +146,9 @@ QUnit.test( "animateClass works with colors", function( assert ) {
QUnit.test( "animateClass calls step option", function( assert ) {
assert.expect( 1 );
- var ready = assert.async();
var test = jQuery( "div.animateClass" ),
step = function() {
assert.ok( true, "Step Function Called" );
- test.stop();
- ready();
step = $.noop;
};
test.toggleClass( "testChangeBackground", {
@@ -159,6 +156,8 @@ QUnit.test( "animateClass calls step option", function( assert ) {
step();
}
} );
+
+ test.stop( true, true );
} );
QUnit.test( "animateClass works with children", function( assert ) {