Skip to content

Commit 359b4a3

Browse files
committed
test: run tests with --runInBand by default
This ensures transition tests do not randomly fail due to CPU load
1 parent 2bdb5c1 commit 359b4a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- *install_deps
3535
- *save_cache
3636
- run: yarn ls-lint
37-
- run: yarn test --ci --runInBand
37+
- run: yarn test --ci
3838

3939
test-dts:
4040
<<: *defaults

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"lint": "eslint --ext .ts packages/*/src/**",
1212
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
1313
"ls-lint": "ls-lint",
14-
"test": "node scripts/build.js vue -f global -d && jest",
14+
"test": "node scripts/build.js vue -f global -d && jest --runInBand",
1515
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && yarn test-dts-only",
1616
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
1717
"release": "node scripts/release.js",

0 commit comments

Comments
 (0)