From: Oleg Gaidarenko Date: Fri, 9 May 2014 00:08:48 +0000 (+0400) Subject: Effects: Remove needless operations in tests X-Git-Tag: 3.0.0-alpha1+compat~251 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=13040b655a33543c5d8f2142678faebfa10b37bc;p=jquery.git Effects: Remove needless operations in tests Ref 10024c25820f08139f11d924cec552a26dfbba18 --- diff --git a/test/unit/effects.js b/test/unit/effects.js index e857b229b..9b4c4d5c1 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -5,8 +5,6 @@ if ( !jQuery.fx ) { return; } -var off = jQuery.fx.off; - module("effects", { setup: function() { this.clock = sinon.useFakeTimers( 505877050 ); @@ -17,7 +15,6 @@ module("effects", { this.clock.restore(); jQuery.fx.stop(); jQuery.fx.interval = this._oldInterval; - jQuery.fx.off = off; return moduleTeardown.apply( this, arguments ); } });