From 8b2f9c45cf9676736de82136932771e7a7291ed0 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Sat, 26 Jan 2019 11:42:20 +0100 Subject: [PATCH] Added --exit flag to mocha test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b56104e..cd7f1d2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "scripts": { "start": "node bot.js", - "test": "mocha", + "test": "mocha --exit", "test-unit": "NODE_ENV=test mocha '/**/*.spec.js'" }, "dependencies": {