Effects: Remove needless operations in tests

This commit is contained in:
Oleg Gaidarenko 2014-05-09 04:08:48 +04:00
parent 787562247b
commit 10024c2582

View File

@ -5,8 +5,6 @@ if ( !jQuery.fx ) {
return; return;
} }
var off = jQuery.fx.off;
module("effects", { module("effects", {
setup: function() { setup: function() {
this.clock = sinon.useFakeTimers( 505877050 ); this.clock = sinon.useFakeTimers( 505877050 );
@ -19,7 +17,6 @@ module("effects", {
jQuery.now = Date.now; jQuery.now = Date.now;
jQuery.fx.stop(); jQuery.fx.stop();
jQuery.fx.interval = this._oldInterval; jQuery.fx.interval = this._oldInterval;
jQuery.fx.off = off;
return moduleTeardown.apply( this, arguments ); return moduleTeardown.apply( this, arguments );
} }
}); });