Skip to content

Commit 1dce5de

Browse files
AdamMajermarco-ippolito
authored andcommittedJun 17, 2024
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 <rlau@redhat.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
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)
Please sign in to comment.