Skip to content

Commit cc98103

Browse files
Trottaddaleax
authored andcommitted
test: run REPL preview test regardless of terminal type
PR-URL: #34798 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Mary Marchini <[email protected]>
1 parent 53eae0d commit cc98103

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-repl-preview.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ const { Stream } = require('stream');
77
const { inspect } = require('util');
88

99
common.skipIfInspectorDisabled();
10-
common.skipIfDumbTerminal();
1110

11+
// Ignore terminal settings. This is so the test can be run intact if TERM=dumb.
12+
process.env.TERM = '';
1213
const PROMPT = 'repl > ';
1314

1415
class REPLStream extends Stream {

0 commit comments

Comments
 (0)