From 93537211275a4c6b5b9092210b7f48441e999094 Mon Sep 17 00:00:00 2001 From: brisberg Date: Wed, 12 Feb 2020 11:48:31 -0800 Subject: [PATCH] Fixed Mocha from exiting before reporter has a chance to print stack traces --- test/integration/helper.ts | 4 ---- test/mocha.opts | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/test/integration/helper.ts b/test/integration/helper.ts index 8d9c28e..bb8e162 100644 --- a/test/integration/helper.ts +++ b/test/integration/helper.ts @@ -56,8 +56,4 @@ before(() => { stdHooks.hookWrite(); }); -after(() => { - process.exit(); -}); - export const helper = new IntegrationTestHelper(); diff --git a/test/mocha.opts b/test/mocha.opts index e94ac68..c3478c9 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -10,3 +10,4 @@ --recursive --timeout 5000 +--exit