mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: run REPL preview test regardless of terminal type
PR-URL: https://github.com/nodejs/node/pull/34798 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mary Marchini <oss@mmarchini.me>
This commit is contained in:
committed by
Anna Henningsen
parent
53eae0dafd
commit
cc98103802
@@ -7,8 +7,9 @@ const { Stream } = require('stream');
|
||||
const { inspect } = require('util');
|
||||
|
||||
common.skipIfInspectorDisabled();
|
||||
common.skipIfDumbTerminal();
|
||||
|
||||
// Ignore terminal settings. This is so the test can be run intact if TERM=dumb.
|
||||
process.env.TERM = '';
|
||||
const PROMPT = 'repl > ';
|
||||
|
||||
class REPLStream extends Stream {
|
||||
|
||||
Reference in New Issue
Block a user