Skip to content

Commit c14cae5

Browse files
committed
Rename test-bundles* commands to test-build*
Also add test-prod-build as alias for test-build-prod because I keep messing them up.
1 parent 3fb1d4a commit c14cae5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@
105105
"postinstall": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json",
106106
"test": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.source.js",
107107
"test-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.source.js",
108-
"test-bundles": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.bundles.js",
109-
"test-bundles-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.bundles.js",
108+
"test-prod-build": "yarn test-build-prod",
109+
"test-build": "cross-env NODE_ENV=development jest --config ./scripts/jest/config.build.js",
110+
"test-build-prod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.build.js",
110111
"flow": "node ./scripts/tasks/flow.js",
111112
"prettier": "node ./scripts/prettier/index.js write-changed",
112113
"prettier-all": "node ./scripts/prettier/index.js write",

scripts/circleci/test_entry_point.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ fi
2121

2222
if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
2323
COMMANDS_TO_RUN+=('./scripts/circleci/build.sh')
24-
COMMANDS_TO_RUN+=('yarn test-bundles --runInBand')
25-
COMMANDS_TO_RUN+=('yarn test-bundles-prod --runInBand')
24+
COMMANDS_TO_RUN+=('yarn test-build --runInBand')
25+
COMMANDS_TO_RUN+=('yarn test-build-prod --runInBand')
2626
fi
2727

2828
if [ $((3 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
File renamed without changes.

0 commit comments

Comments
 (0)