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.

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]>
  • Loading branch information
AdamMajer authored and targos committed May 8, 2024
1 parent ce7a751 commit 968fe6a
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 968fe6a

Please sign in to comment.