Lines Matching refs:repl
6 const { REPLServer } = require('repl');
14 const PROMPT = 'repl > ';
51 function runAndWait(cmds, repl) {
52 const promise = repl.inputStream.wait();
54 repl.inputStream.run(cmd);
60 const repl = REPLServer({
68 repl.inputStream.run([
96 noPreview: 'repl > ', // No "undefined" output.
162 const hasPreview = repl.terminal &&
169 let lines = await runAndWait(toBeRun, repl);