mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
test: fix jest with less import (#24900)
This commit is contained in:
parent
8af5e65467
commit
1f04f78707
1
.jest.js
1
.jest.js
@ -25,6 +25,7 @@ module.exports = {
|
|||||||
'^react-dnd-touch-backend$': 'react-dnd-touch-backend/dist/cjs',
|
'^react-dnd-touch-backend$': 'react-dnd-touch-backend/dist/cjs',
|
||||||
'^react-dnd-test-backend$': 'react-dnd-test-backend/dist/cjs',
|
'^react-dnd-test-backend$': 'react-dnd-test-backend/dist/cjs',
|
||||||
'^react-dnd-test-utils$': 'react-dnd-test-utils/dist/cjs',
|
'^react-dnd-test-utils$': 'react-dnd-test-utils/dist/cjs',
|
||||||
|
'\\.(css|less)$': 'identity-obj-proxy',
|
||||||
},
|
},
|
||||||
testPathIgnorePatterns: ['/node_modules/', 'dekko', 'node', 'image.test.js'],
|
testPathIgnorePatterns: ['/node_modules/', 'dekko', 'node', 'image.test.js'],
|
||||||
transform: {
|
transform: {
|
||||||
|
@ -147,7 +147,6 @@
|
|||||||
"warning": "^4.0.3"
|
"warning": "^4.0.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"rc-virtual-list": "^1.1.0",
|
|
||||||
"@ant-design/bisheng-plugin": "^2.3.0",
|
"@ant-design/bisheng-plugin": "^2.3.0",
|
||||||
"@ant-design/colors": "^4.0.0",
|
"@ant-design/colors": "^4.0.0",
|
||||||
"@ant-design/hitu": "^0.0.0-alpha.13",
|
"@ant-design/hitu": "^0.0.0-alpha.13",
|
||||||
@ -209,6 +208,7 @@
|
|||||||
"glob": "^7.1.4",
|
"glob": "^7.1.4",
|
||||||
"http-server": "^0.12.0",
|
"http-server": "^0.12.0",
|
||||||
"husky": "^4.0.3",
|
"husky": "^4.0.3",
|
||||||
|
"identity-obj-proxy": "^3.0.0",
|
||||||
"ignore-emit-webpack-plugin": "^2.0.2",
|
"ignore-emit-webpack-plugin": "^2.0.2",
|
||||||
"immutability-helper": "^3.0.0",
|
"immutability-helper": "^3.0.0",
|
||||||
"inquirer": "^7.1.0",
|
"inquirer": "^7.1.0",
|
||||||
@ -235,6 +235,7 @@
|
|||||||
"rc-queue-anim": "^1.6.12",
|
"rc-queue-anim": "^1.6.12",
|
||||||
"rc-scroll-anim": "^2.5.8",
|
"rc-scroll-anim": "^2.5.8",
|
||||||
"rc-tween-one": "^2.4.1",
|
"rc-tween-one": "^2.4.1",
|
||||||
|
"rc-virtual-list": "^1.1.0",
|
||||||
"react": "^16.9.0",
|
"react": "^16.9.0",
|
||||||
"react-color": "^2.17.3",
|
"react-color": "^2.17.3",
|
||||||
"react-copy-to-clipboard": "^5.0.1",
|
"react-copy-to-clipboard": "^5.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user