We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process.stdin.unref
setupHistory
1 parent 242de21 commit e388d3bCopy full SHA for e388d3b
test/parallel/test-repl-no-terminal.js
@@ -3,5 +3,6 @@ const common = require('../common');
3
4
const repl = require('repl');
5
const r = repl.start({ terminal: false });
6
-r.setupHistory('/nonexistent/file', common.mustSucceed());
7
-process.stdin.unref?.();
+r.setupHistory('/nonexistent/file', common.mustSucceed(() => {
+ process.stdin.unref?.();
8
+}));
0 commit comments