ant-design/components/notification/__tests__/a11y.test.ts
Jony J 08a9325182
feat: add a11y test for components demo (#51414)
* test: add accessibility test utilities

* refactor(tests): replace polling with Promise chain for axe test queue management

* test: add a11y test for components demo

* feat: add a11y test utils

* test: add a11y test for components demo

* test: add a11y test for components demo

* chore: remove unnecessary code

* feat: add polyfill for test environment

* test: add a11y test for components demo

* test: add a11y test for components demo

* chore: adjust code style
2024-11-01 11:30:11 +08:00

4 lines
162 B
TypeScript

import accessibilityDemoTest from '../../../tests/shared/accessibilityTest';
accessibilityDemoTest('notification', { disabledRules: ['button-name', 'label'] });