Selaa lähdekoodia

get rid of event listener warning when running tests

Hakim El Hattab 5 vuotta sitten
vanhempi
commit
c1b2e415db
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      gulpfile.js

+ 3 - 0
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({