test: update jest cli options (#40725)

* test: update jest cli options

* Apply suggestions from code review
This commit is contained in:
afc163 2023-02-15 11:03:05 +08:00 committed by GitHub
parent 213efa2cf1
commit 41d9efd29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,12 +87,12 @@
"sort": "npx sort-package-json",
"sort-api": "antd-tools run sort-api-table",
"start": "cross-env PORT=8001 dumi dev",
"test": "jest --config .jest.js --cache=false",
"test:update": "jest --config .jest.js --cache=false -u",
"test": "jest --config .jest.js --no-cache",
"test:update": "jest --config .jest.js --no-cache -u",
"test-all": "sh -e ./scripts/test-all.sh",
"test-node": "npm run version && jest --config .jest.node.js --cache=false",
"test-node": "npm run version && jest --config .jest.node.js --no-cache",
"tsc": "tsc --noEmit",
"site:test": "jest --config .jest.site.js --cache=false --force-exit",
"site:test": "jest --config .jest.site.js --no-cache --force-exit",
"test-image": "jest --config .jest.image.js --no-cache -i -u",
"argos": "node ./scripts/argos-upload.js",
"version": "node ./scripts/generate-version",