test: run tests with --runInBand by default
This ensures transition tests do not randomly fail due to CPU load
This commit is contained in:
parent
2bdb5c1464
commit
359b4a30ca
@ -34,7 +34,7 @@ jobs:
|
||||
- *install_deps
|
||||
- *save_cache
|
||||
- run: yarn ls-lint
|
||||
- run: yarn test --ci --runInBand
|
||||
- run: yarn test --ci
|
||||
|
||||
test-dts:
|
||||
<<: *defaults
|
||||
|
@ -11,7 +11,7 @@
|
||||
"lint": "eslint --ext .ts packages/*/src/**",
|
||||
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
||||
"ls-lint": "ls-lint",
|
||||
"test": "node scripts/build.js vue -f global -d && jest",
|
||||
"test": "node scripts/build.js vue -f global -d && jest --runInBand",
|
||||
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && yarn test-dts-only",
|
||||
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
|
||||
"release": "node scripts/release.js",
|
||||
|
Loading…
Reference in New Issue
Block a user