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.
This commit is contained in:
Andrey Lushnikov 2018-07-30 18:07:01 -07:00 committed by GitHub
parent 2c9599496a
commit 4bbaa9d4f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,