Skip to content

Commit 94f2804

Browse files
committed
Revert "revert electron tests"
This reverts commit 119d2d4.
1 parent a631d6d commit 94f2804

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

scripts/test.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ test -d node_modules || ./scripts/npm.sh install
2828

2929
# Build
3030
test -d out || ./node_modules/.bin/gulp compile
31-
31+
echo "code $CODE"
3232
# Unit Tests
3333
export VSCODE_DEV=1
3434
if [[ "$OSTYPE" == "darwin"* ]]; then
35-
cd $ROOT ; ulimit -n 4096 ; ELECTRON_RUN_AS_NODE=1 \
35+
cd $ROOT ; ulimit -n 4096 ; \
3636
"$CODE" \
37-
node_modules/mocha/bin/_mocha "$@"
37+
test/electron/index.js "$@"
3838
else
39-
cd $ROOT ; ELECTRON_RUN_AS_NODE=1 \
39+
cd $ROOT ; \
4040
"$CODE" \
41-
node_modules/mocha/bin/_mocha "$@"
41+
test/electron/index.js "$@"
4242
fi

0 commit comments

Comments
 (0)