(clientWidth, newValue)
| 2109 | } |
| 2110 | |
| 2111 | function resizeTable(clientWidth, newValue) { |
| 2112 | clientWidth.mockImplementation(() => newValue); |
| 2113 | fireEvent(window, new Event('resize')); |
| 2114 | act(() => { |
| 2115 | jest.runAllTimers(); |
| 2116 | }); |
| 2117 | } |
| 2118 | |
| 2119 | let defaultColumns = [ |
| 2120 | {name: 'Name', uid: 'name', width: '1fr'}, |