Skip to content

Commit

Permalink
chore: test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
d2FuZ3h1ZG9uZw committed May 19, 2023
1 parent 6848d47 commit ddcfc5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/s2-core/__tests__/spreadsheet/scroll-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ describe('Scroll Tests', () => {

s2.changeSheetSize(1000, 150); // 纵向滚动条
s2.render(false);
expect(s2.facet.vScrollBar.getCanvasBBox().x).toBe(190);
expect(s2.facet.vScrollBar.getCanvasBBox().x).toBe(178);

s2.setOptions({
interaction: {
Expand Down

0 comments on commit ddcfc5b

Please sign in to comment.