summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-tab-complete.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-repl-tab-complete.js')
-rw-r--r--test/parallel/test-repl-tab-complete.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js
index cc3dce1093..bfcf810ddd 100644
--- a/test/parallel/test-repl-tab-complete.js
+++ b/test/parallel/test-repl-tab-complete.js
@@ -51,7 +51,12 @@ function getNoResultsFunction() {
const works = [['inner.one'], 'inner.o'];
const putIn = new ArrayStream();
-const testMe = repl.start('', putIn);
+const testMe = repl.start({
+ prompt: '',
+ input: putIn,
+ output: process.stdout,
+ allowBlockingCompletions: true
+});
// Some errors are passed to the domain, but do not callback
testMe._domain.on('error', assert.ifError);