From a34af960934ea60e1dfb321bf8f55c2ed35c8810 Mon Sep 17 00:00:00 2001 From: Victor Savkin Date: Mon, 15 Jun 2020 14:07:10 -0400 Subject: [PATCH] fix(repo): e2e test script should handle SIGINT --- scripts/e2e.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/e2e.ts b/scripts/e2e.ts index 5445d5f0fc..3d5faf1197 100755 --- a/scripts/e2e.ts +++ b/scripts/e2e.ts @@ -161,6 +161,8 @@ function cleanUp(code) { process.exit(code); } +process.on('SIGINT', () => cleanUp(1)); + runTest() .then(() => { process.exit(0);