Commit 1390d073 authored by Corey Frang's avatar Corey Frang

Tests: Lower the checks rounding error

The CSS value rounding error was causig failures on FF and IE.
parent 0ff80577
...@@ -198,7 +198,7 @@ test( "jQuery.Tween - Element", function() { ...@@ -198,7 +198,7 @@ test( "jQuery.Tween - Element", function() {
ok( easingSpy.calledWith( 0.1, 0.1 * testOptions.duration, 0, 1, testOptions.duration ), ok( easingSpy.calledWith( 0.1, 0.1 * testOptions.duration, 0, 1, testOptions.duration ),
"...using jQuery.easing.linear with back-compat arguments" ); "...using jQuery.easing.linear with back-compat arguments" );
equal( parseFloat( testElement.style.height ).toFixed( 5 ), eased.toFixed( 5 ), "Set value" ); equal( parseFloat( testElement.style.height ).toFixed( 2 ), eased.toFixed( 2 ), "Set value" );
tween.run( 1 ); tween.run( 1 );
equal( testElement.style.height, "0px", "Checking another value" ); equal( testElement.style.height, "0px", "Checking another value" );
......
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