Skip to content

Commit 119d2d4

Browse files
committed
revert electron tests
1 parent a52c2e1 commit 119d2d4

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

0 commit comments

Comments
 (0)