Lines Matching refs:lines
21 this.lines = ['']; property
31 this.lines[this.lines.length - 1] += chunkLines[0];
33 this.lines.push(...chunkLines.slice(1));
39 this.lines = ['']; property
46 if (this.lines[this.lines.length - 1].includes(PROMPT)) {
49 resolve(this.lines);
178 let lines = await runAndWait(toBeRun, repl);
184 lines = lines.map((line) => line.replace(/Error: .+?\x1B/, ''));
185 assert.strictEqual(lines.pop(), '\x1B[1G\x1B[0Jrepl > \x1B[8G');
186 assert.deepStrictEqual(lines, preview);
188 assert.ok(lines[0].includes(noPreview), lines.map(inspect));
190 assert.strictEqual(lines.length, 2);