(position: number)
| 2132 | it('should update the position of sticky cells as the user is scrolling', async () => { |
| 2133 | const {fixture, table} = await createVirtualScroll(TableWithVirtualScroll); |
| 2134 | const assertStickyOffsets = (position: number) => { |
| 2135 | getHeaderCells(table).forEach(cell => expect(cell.style.top).toBe(`${position * -1}px`)); |
| 2136 | getFooterCells(table).forEach(cell => expect(cell.style.bottom).toBe(`${position}px`)); |
| 2137 | }; |
| 2138 | |
| 2139 | assertStickyOffsets(0); |
| 2140 | await triggerScroll(fixture, 1000); |
no test coverage detected