Skip to content

Commit

Permalink
test: skip some console tests on dumb terminal
Browse files Browse the repository at this point in the history
This adds two more tests to be skipped on systems with only a
dumb terminal. See #33165
for details.
  • Loading branch information
AdamMajer authored and aduh95 committed May 5, 2024
1 parent c7e4209 commit 394a0a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/parallel/test-repl-mode.js
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-repl-strict-mode-previews.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
const common = require('../common');

common.skipIfInspectorDisabled();
common.skipIfDumbTerminal();

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

0 comments on commit 394a0a6

Please sign in to comment.