From c1b2e415db4f4d175e3a8a70b55c285b17471820 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 22 Apr 2020 16:07:51 +0200 Subject: [PATCH] get rid of event listener warning when running tests --- gulpfile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index a9ff52d..30433f4 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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({