From d569b3744aff7089088870a7b61594a1e34bfb93 Mon Sep 17 00:00:00 2001 From: Eduardo Speroni Date: Mon, 17 Jan 2022 16:38:33 -0300 Subject: [PATCH] fix(test): exit test command if karma finishes execution --- lib/commands/test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/commands/test.ts b/lib/commands/test.ts index 3a7beb4fba..20d3b244c1 100644 --- a/lib/commands/test.ts +++ b/lib/commands/test.ts @@ -89,6 +89,8 @@ abstract class TestCommandBase { liveSyncInfo, deviceDescriptors ); + // if we got here, it means karma exited with exit code 0 (success) + process.exit(0); } async canExecute(args: string[]): Promise {