(expectedValue: readonly SortColumn[])
| 34 | } |
| 35 | |
| 36 | function testSortColumns(expectedValue: readonly SortColumn[]) { |
| 37 | return expect |
| 38 | .element(page.getByTestId('sortColumnsValue')) |
| 39 | .toHaveTextContent(JSON.stringify(expectedValue)); |
| 40 | } |
| 41 | |
| 42 | test('should not sort if sortable is false', async () => { |
| 43 | await setup(); |