Skip to content

Commit

Permalink
Update tests/unit/combo/rendering/rendering-test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hanastasov committed Jun 29, 2022
1 parent 171ae5f commit d61c9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/combo/rendering/rendering-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ QUnit.test('[ID7] igCombo scrolling tests', function (assert) {
assert.equal(combo.listScrollTop(), 200, "When value is undefined, then scroll top is returned.");
assert.equal($dropDownCont.prop('scrollTop'), 200, "Drop down container should be equal to set top scroll.");

scrollHeight = Math.round( $dropDownCont.prop('scrollHeight') - $dropDownCont.innerHeight());
scrollHeight = Math.round($dropDownCont.prop('scrollHeight') - $dropDownCont.innerHeight());

// set invalid scroll height
combo.listScrollTop(scrollHeight + 200);
Expand Down

0 comments on commit d61c9b1

Please sign in to comment.