Explorar el Código

test: run tests with --runInBand by default

This ensures transition tests do not randomly fail due to CPU load
Evan You hace 5 años
padre
commit
359b4a30ca
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      .circleci/config.yml
  2. 1 1
      package.json

+ 1 - 1
.circleci/config.yml

@@ -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

+ 1 - 1
package.json

@@ -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",