Skip to content

Commit 1dce5de

Browse files
AdamMajermarco-ippolito
authored andcommitted
test: skip some console tests on dumb terminal
This adds two more tests to be skipped on systems with only a dumb terminal. See #33165 for details. PR-URL: #37770 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent 514f01e commit 1dce5de

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/parallel/test-repl-mode.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
'use strict';
2-
require('../common');
2+
const common = require('../common');
33
const assert = require('assert');
44
const Stream = require('stream');
55
const repl = require('repl');
66

7+
common.skipIfDumbTerminal();
8+
79
const tests = [
810
testSloppyMode,
911
testStrictMode,

test/parallel/test-repl-strict-mode-previews.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
const common = require('../common');
66

77
common.skipIfInspectorDisabled();
8+
common.skipIfDumbTerminal();
89

910
if (process.argv[2] === 'child') {
1011
const stream = require('stream');

0 commit comments

Comments
 (0)