forked from pool/nodejs18
Adam Majer
38fc9b6db2
since previous versions, see https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V18.md#18.2.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=1
30 lines
973 B
Diff
30 lines
973 B
Diff
Index: node-v14.3.0/test/parallel/test-repl-mode.js
|
|
===================================================================
|
|
--- node-v14.3.0.orig/test/parallel/test-repl-mode.js
|
|
+++ node-v14.3.0/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,
|
|
Index: node-v14.3.0/test/parallel/test-repl-strict-mode-previews.js
|
|
===================================================================
|
|
--- node-v14.3.0.orig/test/parallel/test-repl-strict-mode-previews.js
|
|
+++ node-v14.3.0/test/parallel/test-repl-strict-mode-previews.js
|
|
@@ -5,6 +5,7 @@
|
|
const common = require('../common');
|
|
|
|
common.skipIfInspectorDisabled();
|
|
+common.skipIfDumbTerminal();
|
|
|
|
if (process.argv[2] === 'child') {
|
|
const stream = require('stream');
|