Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tests/unit/effects/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,18 @@ 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", {
step: function() {
step();
}
} );

test.stop( true, true );
} );

QUnit.test( "animateClass works with children", function( assert ) {
Expand Down