Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a78c33

Browse filesBrowse files
TrottBethGriggs
authored andcommitted
test: run REPL preview test regardless of terminal type
PR-URL: #34798 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Mary Marchini <oss@mmarchini.me>
1 parent 9e0d18f commit 2a78c33
Copy full SHA for 2a78c33

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-repl-preview.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-repl-preview.js
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.