]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: run tests with --runInBand by default
authorEvan You <yyx990803@gmail.com>
Wed, 1 Jul 2020 20:18:39 +0000 (16:18 -0400)
committerEvan You <yyx990803@gmail.com>
Wed, 1 Jul 2020 20:18:39 +0000 (16:18 -0400)
This ensures transition tests do not randomly fail due to CPU load

.circleci/config.yml
package.json

index 16114f451ec2f6e4ae8212edbe518124c8594785..de7e22aa312c726a68198aa4c431152e3c5d957c 100644 (file)
@@ -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
index 09327943e2f3a0d04083b8918df3fe58ec48cb20..ab9f2ac3e9b0fa39c0e9eb790aa5234712f15011 100644 (file)
@@ -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",