MCPcopy Create free account
hub / github.com/adobe/react-spectrum / dataRows

Function dataRows

perf/drivers.mjs:248–251  ·  view source on GitHub ↗
(expected, direction)

Source from the content-addressed store, hash-verified

246
247const filtered = size => records(size).filter(id => id.includes('9'));
248const dataRows = (expected, direction) => [
249 ordered('.data-table [data-record]', expected),
250 condition('[data-bench="sort-name"]', {attribute: 'aria-sort', value: direction})
251];
252
253async function verifyColumns({page, size}, expectedWidth) {
254 let widths = await page.locator('.resizable-table th').evaluateAll(columns =>

Callers 1

drivers.mjsFile · 0.85

Calls 2

orderedFunction · 0.85
conditionFunction · 0.85

Tested by

no test coverage detected