ant-design/components/tree/__tests__/a11y.test.ts
Jony J 5bccf7713a
test: add a11y test for all components demo (#51372)
* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* fix: test case

* test: add a11y test

* chore: code comment adjust
2025-01-27 23:49:40 +08:00

11 lines
288 B
TypeScript

import accessibilityDemoTest from '../../../tests/shared/accessibilityTest';
accessibilityDemoTest('tree', {
skip: [
// Skip large data demos to prevent test timeout
'virtual-scroll.tsx',
'big-data.tsx',
// we can set aria attributes to fix it
'line.tsx',
],
});