This website requires JavaScript.
Explore
Help
Register
Sign In
test
/
ant-design
Watch
1
Star
0
Fork
0
You've already forked ant-design
mirror of
https://gitee.com/ant-design/ant-design.git
synced
2024-12-03 20:49:14 +08:00
Code
Issues
Actions
100
Packages
Projects
Releases
Wiki
Activity
7c4e12f99e
ant-design
/
tests
/
setupAfterEnv.ts
4 lines
83 B
TypeScript
Raw
Normal View
History
Unescape
Escape
test: add test helper for accessibility As proposed in #22343, the components can be automatically validated for accessibility. This adds a test helper that runs Axe to check for accessibility violations.
2021-12-02 20:25:31 +08:00
import
{
toHaveNoViolations
}
from
'jest-axe'
;
chore: Introduce customer jest match to support matchRenderedSnapshot (#22947) * Introduce customer jest match to support matchRenderedSnapshot * lint:tsc stop emiting
2020-04-06 12:05:38 +08:00
test: add test helper for accessibility As proposed in #22343, the components can be automatically validated for accessibility. This adds a test helper that runs Axe to check for accessibility violations.
2021-12-02 20:25:31 +08:00
expect
.
extend
(
toHaveNoViolations
)
;
Reference in New Issue
Copy Permalink