We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a52c2e1 commit 119d2d4Copy full SHA for 119d2d4
1 file changed
scripts/test.sh
@@ -28,15 +28,15 @@ test -d node_modules || ./scripts/npm.sh install
28
29
# Build
30
test -d out || ./node_modules/.bin/gulp compile
31
-echo "code $CODE"
+
32
# Unit Tests
33
export VSCODE_DEV=1
34
if [[ "$OSTYPE" == "darwin"* ]]; then
35
- cd $ROOT ; ulimit -n 4096 ; \
+ cd $ROOT ; ulimit -n 4096 ; ELECTRON_RUN_AS_NODE=1 \
36
"$CODE" \
37
- test/electron/index.js "$@"
+ node_modules/mocha/bin/_mocha "$@"
38
else
39
- cd $ROOT ; \
+ cd $ROOT ; ELECTRON_RUN_AS_NODE=1 \
40
41
42
fi
0 commit comments