diff --git a/packages/core/src/components/Table/Table/__tests__/tableTestUtils.tsx b/packages/core/src/components/Table/Table/__tests__/tableTestUtils.tsx index 2696e3ecb3..740cbda34f 100644 --- a/packages/core/src/components/Table/Table/__tests__/tableTestUtils.tsx +++ b/packages/core/src/components/Table/Table/__tests__/tableTestUtils.tsx @@ -19,14 +19,14 @@ export function mockUseTable() { errorState:
, 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) ); }