Skip to content

Commit 5f1431f

Browse files
committed
Run all unit tests on Linux/macOS
It seems like the expansion of the test files pattern is different between Windows and Linux/macOS. This fixes it by allowing Mocha to expand the glob pattern rather than the shell which should fix the inconsistency.
1 parent 3bb10d8 commit 5f1431f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@
12781278
"watch:webpack": "gulp watchView",
12791279
"watch:files": "gulp watchTestData",
12801280
"test": "npm-run-all -p test:*",
1281-
"test:unit": "mocha --config .mocharc.json test/pure-tests/**/*.ts",
1281+
"test:unit": "mocha --config .mocharc.json 'test/pure-tests/**/*.ts'",
12821282
"test:view": "jest",
12831283
"integration": "node ./out/vscode-tests/run-integration-tests.js no-workspace,minimal-workspace",
12841284
"integration:no-workspace": "node ./out/vscode-tests/run-integration-tests.js no-workspace",

0 commit comments

Comments
 (0)