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

Function if

packages/react-aria-components/test/Table.test.js:3058–3060  ·  view source on GitHub ↗
(index === 6)

Source from the content-addressed store, hash-verified

3056 expect(loaderRow).not.toHaveAttribute('aria-rowindex');
3057 for (let [index, row] of rows.entries()) {
3058 if (index === 6) {
3059 continue;
3060 } else {
3061 expect(row).toHaveAttribute('aria-rowindex', `${index + 2}`);
3062 }
3063 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected