From: Richard Gibson Date: Sat, 29 Apr 2017 05:37:47 +0000 (-0400) Subject: Tests: Correct expected assertion count X-Git-Tag: 3.3.0~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=00cc67af23bf9cf2cdbaeaeee6ded76baf0292f0;p=jquery.git Tests: Correct expected assertion count Ref e94b5b0bbf8d8179bc79ab749470e71092225862 --- diff --git a/test/unit/offset.js b/test/unit/offset.js index b128d3347..d1fad57fa 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -667,7 +667,7 @@ QUnit.test( "chaining", function( assert ) { scrollLeft = win.pageXOffset, expectations = getExpectations( htmlPos, bodyPos, scrollTop, scrollLeft ); - assert.expect( 1 + 3 * Object.keys( expectations ).length ); + assert.expect( 3 * Object.keys( expectations ).length ); // Setup documentElement and body styles, preserving scroll position doc.documentElement.style.position = htmlPos;