chore: remove no-cache for jest

This commit is contained in:
偏右 2020-09-07 17:25:45 +08:00 committed by GitHub
parent ce6d89e93a
commit eb46b026fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@
"react-component", "react-component",
"ui" "ui"
], ],
"homepage": "https://ant.design/", "homepage": "https://ant.design",
"bugs": { "bugs": {
"url": "https://github.com/ant-design/ant-design/issues" "url": "https://github.com/ant-design/ant-design/issues"
}, },
@ -84,12 +84,12 @@
"sort-api": "antd-tools run sort-api-table", "sort-api": "antd-tools run sort-api-table",
"start": "antd-tools run clean && cross-env NODE_ENV=development concurrently \"npm run color-less\" \"bisheng start -c ./site/bisheng.config.js\"", "start": "antd-tools run clean && cross-env NODE_ENV=development concurrently \"npm run color-less\" \"bisheng start -c ./site/bisheng.config.js\"",
"start:preact": "antd-tools run clean && cross-env NODE_ENV=development REACT_ENV=preact concurrently \"npm run color-less\" \"bisheng start -c ./site/bisheng.config.js\"", "start:preact": "antd-tools run clean && cross-env NODE_ENV=development REACT_ENV=preact concurrently \"npm run color-less\" \"bisheng start -c ./site/bisheng.config.js\"",
"test": "jest --config .jest.js --no-cache", "test": "jest --config .jest.js",
"test:update": "jest --config .jest.js --no-cache --update-snapshot", "test:update": "jest --config .jest.js --update-snapshot",
"test-all": "sh -e ./scripts/test-all.sh", "test-all": "sh -e ./scripts/test-all.sh",
"test-node": "jest --config .jest.node.js --no-cache", "test-node": "jest --config .jest.node.js",
"tsc": "tsc --noEmit", "tsc": "tsc --noEmit",
"site:test": "jest --config .jest.site.js --cache=false", "site:test": "jest --config .jest.site.js",
"test-image": "npm run compile:less && docker-compose run tests", "test-image": "npm run compile:less && docker-compose run tests",
"version": "node ./scripts/generate-version" "version": "node ./scripts/generate-version"
}, },