mirror of
https://github.com/nodejs/node.git
synced 2025-05-09 23:06:47 +00:00
test: skip some console tests on dumb terminal
This adds two more tests to be skipped on systems with only a dumb terminal. See https://github.com/nodejs/node/pull/33165 for details. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
982f6ad516
commit
f76b28f2cf
@ -1,9 +1,11 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
require('../common');
|
const common = require('../common');
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const Stream = require('stream');
|
const Stream = require('stream');
|
||||||
const repl = require('repl');
|
const repl = require('repl');
|
||||||
|
|
||||||
|
common.skipIfDumbTerminal();
|
||||||
|
|
||||||
const tests = [
|
const tests = [
|
||||||
testSloppyMode,
|
testSloppyMode,
|
||||||
testStrictMode,
|
testStrictMode,
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
const common = require('../common');
|
const common = require('../common');
|
||||||
|
|
||||||
common.skipIfInspectorDisabled();
|
common.skipIfInspectorDisabled();
|
||||||
|
common.skipIfDumbTerminal();
|
||||||
|
|
||||||
if (process.argv[2] === 'child') {
|
if (process.argv[2] === 'child') {
|
||||||
const stream = require('stream');
|
const stream = require('stream');
|
||||||
|
Loading…
Reference in New Issue
Block a user