Skip to content

Commit

Permalink
test: run tests with --runInBand by default
Browse files Browse the repository at this point in the history
This ensures transition tests do not randomly fail due to CPU load
  • Loading branch information
yyx990803 committed Jul 1, 2020
1 parent 2bdb5c1 commit 359b4a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 359b4a3

Please sign in to comment.