Skip to content

Commit cc915cf

Browse files
committed
Ensure tests are working in all environments by running them in US english.
1 parent 1768f81 commit cc915cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"scripts": {
55
"build": "lerna run build",
66
"watch": "lerna run --parallel watch",
7-
"test-unit": "cross-env NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=./node_modules/full-icu jest",
8-
"test-unit-ci": "cross-env NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=./node_modules/full-icu jest --runInBand",
7+
"test-unit": "cross-env LANG=en_US.UTF-8 NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=./node_modules/full-icu jest",
8+
"test-unit-ci": "cross-env LANG=en_US.UTF-8 NODE_ENV=test cross-env BABEL_ENV=cjs NODE_ICU_DATA=./node_modules/full-icu jest --runInBand",
99
"test-e2e": "yarn run -s build && cross-env NODE_ENV=test && cd cypress && yarn test",
1010
"test-e2e-local": "cd cypress && yarn start",
1111
"test": "yarn test-unit && yarn test-e2e",

0 commit comments

Comments
 (0)