diff --git a/test/parallel/test-readline-interface.js b/test/parallel/test-readline-interface.js index 86c102c45f1107..6f8849a322618a 100644 --- a/test/parallel/test-readline-interface.js +++ b/test/parallel/test-readline-interface.js @@ -564,7 +564,7 @@ function isWarned(emitter) { }); const rl = readline.createInterface({ - input: new Readable({ read: common.noop }), + input: new Readable({ read: common.mustCall() }), output: output, prompt: '$ ', terminal: terminal