From 18dcd70b61e7e45162a21c3017de707978858727 Mon Sep 17 00:00:00 2001 From: "A.J. Romaniello" Date: Mon, 24 May 2021 09:28:40 -0600 Subject: [PATCH] Add --exit to mocha multi install script Fixes #78 --- lib/learn_test/strategies/mocha.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/learn_test/strategies/mocha.rb b/lib/learn_test/strategies/mocha.rb index e0b9108..be078ea 100644 --- a/lib/learn_test/strategies/mocha.rb +++ b/lib/learn_test/strategies/mocha.rb @@ -71,7 +71,7 @@ def run_node_based_mocha 'npm test' else install_mocha_multi - 'node_modules/.bin/mocha -R mocha-multi --reporter-options spec=-,json=.results.json' + 'node_modules/.bin/mocha -R mocha-multi --reporter-options spec=-,json=.results.json --exit' end system(command)