Skip to content

Commit

Permalink
Force LC_ALL=C for tests
Browse files Browse the repository at this point in the history
Localization can interfere with the snapshot tests which are expecting commas in numbers.
1,000 != 1.000
  • Loading branch information
Lucki authored Aug 21, 2024
1 parent 6200016 commit aa668bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"postinstall": "rm -rf ./node_modules/react && rm -rf ./node_modules/react-dom",
"start": "webpack-dev-server --env NODE_ENV=development",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 webpack --progress --env NODE_ENV=production",
"test": "cross-env TZ=GMT jest --silent",
"test": "cross-env LC_ALL=C TZ=GMT jest --silent",
"coverage": "cross-env TZ=GMT jest --coverage --silent",
"lint": "eslint \"{app,test}/**/**.{js,jsx,ts,tsx}\"",
"lint:fix": "eslint \"{app,test}/**/**.{js,jsx,ts,tsx}\" --fix",
Expand Down

0 comments on commit aa668bc

Please sign in to comment.