mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-08 18:39:20 +08:00
chore: bump antd-img-crop from 4.27.0 to 4.28.0 in the dev-dependencies group (#56878)
* bump antd-img-crop * refactor accessibilityDemoTest * fix --------- Co-authored-by: thinkasany <480968828@qq.com>
This commit is contained in:
@@ -223,7 +223,7 @@
|
||||
"adm-zip": "^0.5.16",
|
||||
"ajv": "^8.17.1",
|
||||
"ali-oss": "^6.23.0",
|
||||
"antd-img-crop": "~4.27.0",
|
||||
"antd-img-crop": "~4.28.0",
|
||||
"antd-style": "^4.1.0",
|
||||
"antd-token-previewer": "^3.0.0",
|
||||
"axios": "^1.13.2",
|
||||
|
||||
@@ -144,8 +144,10 @@ export default function accessibilityDemoTest(component: string, options: Option
|
||||
const testMethod = shouldSkip ? describe.skip : describe;
|
||||
|
||||
testMethod(`Test ${file} accessibility`, () => {
|
||||
const Demo: React.ComponentType<any> = require(`../../${file}`).default;
|
||||
accessibilityTest(Demo, options.disabledRules);
|
||||
if (!shouldSkip) {
|
||||
const Demo: React.ComponentType<any> = require(`../../${file}`).default;
|
||||
accessibilityTest(Demo, options.disabledRules);
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user