Commit 13040b65 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Effects: Remove needless operations in tests

Ref 10024c25
parent 37f0f7f4
...@@ -5,8 +5,6 @@ if ( !jQuery.fx ) { ...@@ -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 );
...@@ -17,7 +15,6 @@ module("effects", { ...@@ -17,7 +15,6 @@ module("effects", {
this.clock.restore(); this.clock.restore();
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 );
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment