Skip to content

Commit de04127

Browse files
author
Walker Leite
committed
test(test): fix listeners limit
1 parent 2a85656 commit de04127

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
const {spawn} = require('child_process');
22

3+
process.setMaxListeners(20); // increase listeners limit
4+
35
const initQuestions = [
46
{search: /^\?.+/, response: '\n'},
57
];

0 commit comments

Comments
 (0)