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 4437002771f6ab70fba6e2e9bd9cf60957e70871
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/unit/manipulation.js
@@ -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.
You can’t perform that action at this time.