Commit 10024c25 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Effects: Remove needless operations in tests

parent 78756224
...@@ -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 );
...@@ -19,7 +17,6 @@ module("effects", { ...@@ -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 );
} }
}); });
......
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