diff --git a/package.json b/package.json index 1ca628761578f..6f44332070998 100644 --- a/package.json +++ b/package.json @@ -104,9 +104,9 @@ "lint": "node ./scripts/tasks/eslint.js", "postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json", "test": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.source.js", + "test-build": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.build.js", "test-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.source.js", - "test-bundles": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.bundles.js", - "test-bundles-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.bundles.js", + "test-prod-build": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.build.js", "flow": "node ./scripts/tasks/flow.js", "prettier": "node ./scripts/prettier/index.js write-changed", "prettier-all": "node ./scripts/prettier/index.js write", diff --git a/scripts/circleci/test_entry_point.sh b/scripts/circleci/test_entry_point.sh index 7fc570f61db89..4752237cf56a7 100755 --- a/scripts/circleci/test_entry_point.sh +++ b/scripts/circleci/test_entry_point.sh @@ -21,8 +21,8 @@ fi if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then COMMANDS_TO_RUN+=('./scripts/circleci/build.sh') - COMMANDS_TO_RUN+=('yarn test-bundles --runInBand') - COMMANDS_TO_RUN+=('yarn test-bundles-prod --runInBand') + COMMANDS_TO_RUN+=('yarn test-bundle --runInBand') + COMMANDS_TO_RUN+=('yarn test-prod-bundle --runInBand') fi if [ $((3 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then diff --git a/scripts/jest/config.bundles.js b/scripts/jest/config.build.js similarity index 100% rename from scripts/jest/config.bundles.js rename to scripts/jest/config.build.js