diff options
author | Florian Dold <florian@dold.me> | 2021-01-13 13:48:28 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-01-13 13:48:28 +0100 |
commit | e70144405cee1a2d2d0ad24b78bf610eba6cdb8d (patch) | |
tree | d618c44344190825b21dfa38aacbc44d5373864a /packages/taler-wallet-cli | |
parent | e44b86b084ff4b2dfc53199162816be6ad32c39d (diff) |
exit from worker process
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/testrunner.ts | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts index 6caea138c..3b1ea4966 100644 --- a/packages/taler-wallet-cli/src/integrationtests/testrunner.ts +++ b/packages/taler-wallet-cli/src/integrationtests/testrunner.ts @@ -296,8 +296,13 @@ if (runTestInstrStr) { process.send(testResult); }; - runTest().catch((e) => { - console.log(e); - process.exit(1); - }); + runTest() + .then(() => { + console.log(`test ${testName} finished in worker`); + process.exit(0); + }) + .catch((e) => { + console.log(e); + process.exit(1); + }); } |