diff --git a/test/parallel/test-readline-interface.js b/test/parallel/test-readline-interface.js index ddabc20b39026f..0e7e96a565a83d 100644 --- a/test/parallel/test-readline-interface.js +++ b/test/parallel/test-readline-interface.js @@ -541,7 +541,7 @@ function isWarned(emitter) { }); const rl = readline.createInterface({ - input: new Readable({ read: () => {} }), + input: new Readable({ read: common.mustCall() }), output: output, prompt: '$ ', terminal: terminal