update jest & antd-tools & bisheng-plugin-antd (#14659)

* update deps

* update test case

* update bisheng

* set 'aria-controls' to '' to keep jest sync
This commit is contained in:
zombieJ 2019-01-31 16:07:49 +08:00 committed by 陈帅
parent fc56fe9ce5
commit 7f6d7730e0
2 changed files with 7 additions and 7 deletions

View File

@ -50,7 +50,7 @@
"dom-closest": "^0.2.0",
"enquire.js": "^2.1.6",
"lodash": "^4.17.11",
"moment": "^2.22.2",
"moment": "^2.24.0",
"omit.js": "^1.0.0",
"prop-types": "^15.6.2",
"raf": "^3.4.0",
@ -103,10 +103,10 @@
"@yesmeck/offline-plugin": "^5.0.5",
"ansi-styles": "^3.2.1",
"antd-theme-generator": "^1.1.4",
"antd-tools": "^6.5.0",
"antd-tools": "^7.0.0",
"babel-eslint": "^10.0.1",
"bisheng": "^1.0.0",
"bisheng-plugin-antd": "^0.17.0",
"bisheng": "^1.1.0",
"bisheng-plugin-antd": "^1.0.0",
"bisheng-plugin-description": "^0.1.4",
"bisheng-plugin-react": "^1.0.0",
"bisheng-plugin-toc": "^0.4.4",
@ -184,8 +184,8 @@
"xhr2": "^0.1.4"
},
"scripts": {
"test": "jest --config .jest.js --verbose=false",
"test-node": "jest --config .jest.node.js",
"test": "jest --config .jest.js --verbose=false --no-cache",
"test-node": "jest --config .jest.node.js --no-cache",
"test-all": "./scripts/test-all.sh",
"lint": "npm run lint:ts && npm run lint:es && npm run lint:demo && npm run lint:style",
"lint:ts": "npm run tsc && antd-tools run ts-lint",

View File

@ -23,7 +23,7 @@ function ariaConvert(wrapper) {
// Change aria
if (attribs && attribs['aria-controls']) {
attribs['aria-controls'] = 'test-uuid';
attribs['aria-controls'] = ''; // Remove all the aria to keep render sync in jest & jest node
}
// Loop children