MCPcopy
hub / github.com/Comcast/react-data-grid / testSortColumns

Function testSortColumns

test/browser/sorting.test.tsx:36–40  ·  view source on GitHub ↗
(expectedValue: readonly SortColumn[])

Source from the content-addressed store, hash-verified

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

Callers 1

sorting.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected