get rid of event listener warning when running tests

This commit is contained in:
Hakim El Hattab 2020-04-22 16:07:51 +02:00
parent ad113ba69d
commit c1b2e415db

View File

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