get rid of event listener warning when running tests

master
Hakim El Hattab 2020-04-22 16:07:51 +02:00
parent ad113ba69d
commit c1b2e415db
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ const banner = `/*!
* Copyright (C) 2020 Hakim El Hattab, https://hakim.se
*/\n`
// Prevents warnings from opening too many test pages
process.setMaxListeners(20);
const rollupConfig = {
plugins: [
babel({