diff --git a/test/parallel/test-repl-mode.js b/test/parallel/test-repl-mode.js index 0cfcfba56bc8a5..aca8418904d082 100644 --- a/test/parallel/test-repl-mode.js +++ b/test/parallel/test-repl-mode.js @@ -1,9 +1,11 @@ 'use strict'; -require('../common'); +const common = require('../common'); const assert = require('assert'); const Stream = require('stream'); const repl = require('repl'); +common.skipIfDumbTerminal(); + const tests = [ testSloppyMode, testStrictMode, diff --git a/test/parallel/test-repl-strict-mode-previews.js b/test/parallel/test-repl-strict-mode-previews.js index 8da4029e186b3c..a05e11b39cf3ee 100644 --- a/test/parallel/test-repl-strict-mode-previews.js +++ b/test/parallel/test-repl-strict-mode-previews.js @@ -5,6 +5,7 @@ const common = require('../common'); common.skipIfInspectorDisabled(); +common.skipIfDumbTerminal(); if (process.argv[2] === 'child') { const stream = require('stream');