From: Evan You Date: Wed, 1 Jul 2020 20:18:39 +0000 (-0400) Subject: test: run tests with --runInBand by default X-Git-Tag: v3.0.0-beta.18~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=359b4a30ca5d7004a81926c4991991b615cc769d;p=thirdparty%2Fvuejs%2Fcore.git test: run tests with --runInBand by default This ensures transition tests do not randomly fail due to CPU load --- diff --git a/.circleci/config.yml b/.circleci/config.yml index 16114f451e..de7e22aa31 100644 --- a/.circleci/config.yml +++ b/.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 diff --git a/package.json b/package.json index 09327943e2..ab9f2ac3e9 100644 --- a/package.json +++ b/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",