From 4bbaa9d4f5f61c90f2ab596deddfe6a0d0685f55 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Mon, 30 Jul 2018 18:07:01 -0700 Subject: [PATCH] test: do not handle sigint for all the browsers launched in tests (#2990) Puppeteer's default handler issues "process.exit(130)", causing test runner to shut too early. As a result, test runner doesn't show run summary. --- test/test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test.js b/test/test.js index 0dd017672aa..f3dda5517ed 100644 --- a/test/test.js +++ b/test/test.js @@ -43,6 +43,7 @@ assert(fs.existsSync(puppeteer.executablePath()), `Chromium is not Downloaded. R const slowMo = parseInt((process.env.SLOW_MO || '0').trim(), 10); const defaultBrowserOptions = { + handleSIGINT: false, executablePath, slowMo, headless,