diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2012-12-04 22:14:08 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-12-04 22:14:08 -0500 |
commit | 4437002771f6ab70fba6e2e9bd9cf60957e70871 (patch) | |
tree | b0c9a53d16fc72a81726d6bbc68c1943e37775bc /test | |
parent | 551c2c9f4ac776b6d53600c452ad40a4b4d6670b (diff) | |
download | jquery-4437002771f6ab70fba6e2e9bd9cf60957e70871.tar.gz jquery-4437002771f6ab70fba6e2e9bd9cf60957e70871.zip |
Radical idea: Calculate `expect()` value before fn call. :purple_heart:
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/manipulation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 7e48fb68e..70f5ab9e7 100644 --- a/test/unit/manipulation.js +++ b/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 |