Skip to content

Conversation

jzaefferer
Copy link
Member

Adds two clunky tests to at least check that no exception is thrown.

Fixes #12223

to: ".animateClass",
duration: 1
}, function() {
start();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like you could add an ok( true, "callback invoked" ) to at least have an assertion here.

@jzaefferer
Copy link
Member Author

Updated

} );

asyncTest( "transfer() with callback", function() {
expect( 0 );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually passing? Should be expect( 1 ).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that was stupid. Fixed.

Adds two tests to at least check that no exception is thrown.

Fixes #12223
Closes gh-1545
@scottgonzalez
Copy link
Member

Looks good.

@jzaefferer jzaefferer merged commit 8b89f8c into jquery:master Apr 24, 2015
@jzaefferer jzaefferer deleted the transfer-callback branch April 24, 2015 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants