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 nodejs#33165
for details.
  • Loading branch information
AdamMajer committed Mar 16, 2021
1 parent 3bba40a commit c1ba38a
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
@@ -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
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 c1ba38a

Please sign in to comment.