From ccf78b4ff2dc997d2189918f38eeb9ce58c50d4f Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 1 Jul 2017 23:22:01 -0400 Subject: [PATCH] exit process after each mocha run --- lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.js b/lib/index.js index 74d23a3bb..7507d09f6 100644 --- a/lib/index.js +++ b/lib/index.js @@ -220,6 +220,7 @@ class Embark { process.on('exit', function () { process.exit(failures); // exit with non-zero status if there were failures }); + process.exit(); }); }