Skip to content
Permalink
Browse files
Radical idea: Calculate expect() value before fn call. 💜
  • Loading branch information
dmethvin committed Dec 5, 2012
1 parent 551c2c9 commit 4437002
Showing 1 changed file with 2 additions and 2 deletions.
@@ -621,11 +621,11 @@ test( "replaceWith([]) where replacing element requires cloning", function () {

test( "append the same fragment with events (Bug #6997, 5566)", function() {

expect( 2 + ( doExtra ? 1 : 0 ) );

var element, clone,
doExtra = !jQuery.support.noCloneEvent && document["fireEvent"];

expect( 2 + ( doExtra ? 1 : 0 ) );

stop();

// This patch modified the way that cloning occurs in IE; we need to make sure that

0 comments on commit 4437002

Please sign in to comment.