From a3b01e4eae3a3a668e8c7aa4ac3ff855cf2230b9 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Thu, 23 Apr 2020 11:58:36 -0400 Subject: [PATCH] Fix test process not dying --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index 3a13418..a5f09b0 100644 --- a/test.js +++ b/test.js @@ -34,7 +34,7 @@ var mockServer = createMockServer(() => { mocha.run(function(failures) { mockServer.close(); server.close(); - process.exitCode = failures ? 1 : 0; // exit with non-zero status if there were failures + process.exit(failures ? 1 : 0); // exit with non-zero status if there were failures }); }); });