Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Transitions: Correct exception in unit tests
Browse files Browse the repository at this point in the history
Fixes gh-7458
  • Loading branch information
Gabriel Schulhof committed Jun 6, 2014
1 parent b0685b3 commit 905478d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/transitions/transitions_core.js
Expand Up @@ -24,7 +24,7 @@
},

teardown: function() {
window.scrollTo( 0 );
window.scrollTo( 0, 0 );
$( "body" ).height( $(window).height() );
}
});
Expand Down Expand Up @@ -64,7 +64,7 @@
expect( 1 );

// ensure the two values are different to trigger the method call
window.scrollTo( 0 );
window.scrollTo( 0, 0 );
instance.toScroll = 100;

// stub to capture call
Expand Down

0 comments on commit 905478d

Please sign in to comment.