Tests: Correct expected assertion count

Ref e94b5b0bbf
This commit is contained in:
Richard Gibson 2017-04-29 01:37:47 -04:00
parent e94b5b0bbf
commit 00cc67af23

View File

@ -667,7 +667,7 @@ QUnit.test( "chaining", function( assert ) {
scrollLeft = win.pageXOffset, scrollLeft = win.pageXOffset,
expectations = getExpectations( htmlPos, bodyPos, scrollTop, scrollLeft ); 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 // Setup documentElement and body styles, preserving scroll position
doc.documentElement.style.position = htmlPos; doc.documentElement.style.position = htmlPos;