From 0e2792373961b567de5c440163ef8cd9bcacf1a9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 27 Apr 2020 13:42:47 +0200 Subject: [PATCH] Added process.emit('shutdown') to @capire/tests --- test/_cds_tests.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/_cds_tests.js b/test/_cds_tests.js index 48c33c6a..d5c17ea3 100644 --- a/test/_cds_tests.js +++ b/test/_cds_tests.js @@ -123,6 +123,7 @@ class CDSTestKit { if (global.console !== console) global.console = console if (cwd !== process.cwd()) process.chdir(cwd) test.server ? test.server.close (done) : done() + process.emit('shutdown') }) function _error (e) {