Skip to content

Commit e6a6860

Browse files
committed
fix: Exit tests after completion
See: https://stackoverflow.com/a/52143003
1 parent 6c0f6b7 commit e6a6860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
"build.native.debug": "cross-env CMAKE_BUILD_TYPE=Debug node-gyp configure --debug && cross-env CMAKE_BUILD_TYPE=Debug node-gyp build --debug",
9393
"build": "run-s build.js build.native",
9494
"build.debug": "run-s build.js build.native.debug",
95-
"test": "run-s build && mocha",
96-
"test.skip_gc_tests": "run-s build.debug && cross-env SKIP_GC_TESTS=true mocha",
95+
"test": "run-s build && mocha --exit",
96+
"test.skip_gc_tests": "run-s build.debug && cross-env SKIP_GC_TESTS=true mocha --exit",
9797
"test.electron.main": "run-s build && electron-mocha",
9898
"test.electron.renderer": "run-s build && electron-mocha --renderer",
9999
"lint.clang-format": "clang-format -i -style=file ./src/*.cc ./src/*.h ./src/util/*.h",

0 commit comments

Comments
 (0)