Skip to content

Commit

Permalink
test(Table): fix context mocked value
Browse files Browse the repository at this point in the history
  • Loading branch information
YossiSaadi committed Oct 27, 2024
1 parent c948396 commit 284af60
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export function mockUseTable() {
errorState: <div />,
size: RowSizes.MEDIUM,
tableRootRef: { current: null },
isVirtualized: false,
markTableAsVirtualized: jest.fn(),
scrollLeft: 0,
onTableRootScroll: jest.fn(),
setScrollLeft: jest.fn(),
headRef: { current: null },
onHeadScroll: jest.fn(),
virtualizedListRef: { current: null },
onVirtualizedListScroll: jest.fn(),
isVirtualized: false,
markTableAsVirtualized: jest.fn()
onVirtualizedListScroll: jest.fn()
} satisfies ITableContext)
);
}
Expand Down

0 comments on commit 284af60

Please sign in to comment.