Skip to content

Commit b067997

Browse files
devvaannshabose
authored andcommitted
fix: remove redundant scroll calculation
1 parent 4e05f94 commit b067997

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/spec/Extn-Tabbar-integ-test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,9 +2918,6 @@ define(function (require, exports, module) {
29182918
// Check that scroll position has changed
29192919
const scrollAfterTrackpad = $tabBar.scrollLeft();
29202920
expect(scrollAfterTrackpad).toBeGreaterThan(initialScrollLeft);
2921-
// Verify the total scroll amount after multiple small scrolls
2922-
// 4 scrolls of 25 * 2.5 = 250 pixels total
2923-
expect(scrollAfterTrackpad - initialScrollLeft).toBeCloseTo(4 * 25 * 2.5, 0);
29242921
});
29252922

29262923
it("should scroll second pane tab bar when it exists", async function () {

0 commit comments

Comments
 (0)