This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
ant-design
Watch
1
Star
0
Fork
0
You've already forked ant-design
mirror of
https://github.com/ant-design/ant-design.git
synced
2024-12-12 07:09:55 +08:00
Code
Issues
Actions
25
Packages
Projects
Releases
Wiki
Activity
1a0efc22d1
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