From 3ec2402a98fe274c63cefbd9a86bf8cb3ba17584 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 4 Oct 2017 15:16:51 +0300 Subject: Exit after running the tests --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index ac1a7e7c9..afcd78bf0 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "pretest:umd": "run-s clean build:umd:dev build:commonjs", "substitute_umd_bundle": "npm run remove_src_files_not_used_by_tests; shx mv _bundles/* lib/src", "remove_src_files_not_used_by_tests": "find ./lib/src \\( -path ./lib/src/utils -o -path ./lib/src/subproviders -o -path ./lib/src/schemas -o -path \"./lib/src/types.*\" \\) -prune -o -type f -print | xargs rm", - "run_mocha": "mocha lib/test/**/*_test.js --timeout 5000 --bail" + "run_mocha": "mocha lib/test/**/*_test.js --timeout 5000 --bail --exit" }, "config": { "artifacts": "TokenTransferProxy Exchange TokenRegistry Token EtherToken", -- cgit