mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Effects: Remove needless operations in tests
This commit is contained in:
parent
787562247b
commit
10024c2582
3
test/unit/effects.js
vendored
3
test/unit/effects.js
vendored
@ -5,8 +5,6 @@ if ( !jQuery.fx ) {
|
||||
return;
|
||||
}
|
||||
|
||||
var off = jQuery.fx.off;
|
||||
|
||||
module("effects", {
|
||||
setup: function() {
|
||||
this.clock = sinon.useFakeTimers( 505877050 );
|
||||
@ -19,7 +17,6 @@ module("effects", {
|
||||
jQuery.now = Date.now;
|
||||
jQuery.fx.stop();
|
||||
jQuery.fx.interval = this._oldInterval;
|
||||
jQuery.fx.off = off;
|
||||
return moduleTeardown.apply( this, arguments );
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user