Skip to content

Commit

Permalink
test: run REPL preview test regardless of terminal type
Browse files Browse the repository at this point in the history
PR-URL: #34798
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
  • Loading branch information
Trott authored and BethGriggs committed Aug 24, 2020
1 parent 9e0d18f commit 2a78c33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-repl-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2a78c33

Please sign in to comment.