Skip to content

Commit 70098aa

Browse files
committed
Fix running unit tests on Windows
1 parent cd2b5a8 commit 70098aa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@
11881188
"watch:extension": "tsc --watch",
11891189
"watch:webpack": "gulp watchView",
11901190
"test": "npm-run-all -p test:*",
1191-
"test:unit": "LANG=en-US mocha --exit -r ts-node/register -r test/mocha.setup.js test/pure-tests/**/*.ts",
1191+
"test:unit": "mocha --exit -r ts-node/register -r test/mocha.setup.js test/pure-tests/**/*.ts",
11921192
"test:view": "jest",
11931193
"preintegration": "rm -rf ./out/vscode-tests && gulp",
11941194
"integration": "node ./out/vscode-tests/run-integration-tests.js no-workspace,minimal-workspace",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
process.env.TZ = 'UTC';
2+
process.env.LANG = 'en-US';

0 commit comments

Comments
 (0)