We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61b16b commit 42bcdb9Copy full SHA for 42bcdb9
tests/unit/effects/core.js
@@ -146,19 +146,18 @@ QUnit.test( "animateClass works with colors", function( assert ) {
146
147
QUnit.test( "animateClass calls step option", function( assert ) {
148
assert.expect( 1 );
149
- var ready = assert.async();
150
var test = jQuery( "div.animateClass" ),
151
step = function() {
152
assert.ok( true, "Step Function Called" );
153
- test.stop();
154
- ready();
155
step = $.noop;
156
};
157
test.toggleClass( "testChangeBackground", {
158
step: function() {
159
step();
160
}
161
} );
+
+ test.stop( true, true );
162
163
164
QUnit.test( "animateClass works with children", function( assert ) {
0 commit comments