From e8af025e7cfb3f8ad591107e7ffba6daecaf862d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 16 Aug 2020 10:33:39 -0700 Subject: [PATCH 1/2] test: run REPL preview test regardless of terminal type --- test/parallel/test-repl-preview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-repl-preview.js b/test/parallel/test-repl-preview.js index 02c1ec31cd5020..972655cfedd4a3 100644 --- a/test/parallel/test-repl-preview.js +++ b/test/parallel/test-repl-preview.js @@ -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 { From f84c5d2d1e74dba9f089dbbe9a929e7598407bac Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 19 Aug 2020 09:49:11 -0700 Subject: [PATCH 2/2] fixup! test: run REPL preview test regardless of terminal type --- test/parallel/test-repl-preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-repl-preview.js b/test/parallel/test-repl-preview.js index 972655cfedd4a3..b0159bfd646a82 100644 --- a/test/parallel/test-repl-preview.js +++ b/test/parallel/test-repl-preview.js @@ -9,7 +9,7 @@ const { inspect } = require('util'); common.skipIfInspectorDisabled(); // Ignore terminal settings. This is so the test can be run intact if TERM=dumb. -process.env.TERM=''; +process.env.TERM = ''; const PROMPT = 'repl > '; class REPLStream extends Stream {