test: run tests with --runInBand by default

This ensures transition tests do not randomly fail due to CPU load
This commit is contained in:
Evan You 2020-07-01 16:18:39 -04:00
parent 2bdb5c1464
commit 359b4a30ca
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ jobs:
- *install_deps - *install_deps
- *save_cache - *save_cache
- run: yarn ls-lint - run: yarn ls-lint
- run: yarn test --ci --runInBand - run: yarn test --ci
test-dts: test-dts:
<<: *defaults <<: *defaults

View File

@ -11,7 +11,7 @@
"lint": "eslint --ext .ts packages/*/src/**", "lint": "eslint --ext .ts packages/*/src/**",
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"", "format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
"ls-lint": "ls-lint", "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": "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", "test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.json",
"release": "node scripts/release.js", "release": "node scripts/release.js",