Skip to content

Commit c1ba38a

Browse files
committed
test: skip some console tests on dumb terminal
This adds two more tests to be skipped on systems with only a dumb terminal. See nodejs#33165 for details.
1 parent 3bba40a commit c1ba38a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/parallel/test-repl-mode.js

Lines changed: 3 additions & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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)