summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-12 22:05:19 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-14 17:15:25 +0100
commitadfbfc985c1798cba8ebd5f5d7095611c51f7bad (patch)
treed6f5e284ed86f48e623b6677a1bff679169f4ced
parent6adcc6f57410c28da061ab6ab82dd149ad8fa974 (diff)
downloadnode-new-adfbfc985c1798cba8ebd5f5d7095611c51f7bad.tar.gz
test: fix test by removing node-inspect/lib/_inspect
If this file is loaded with Node.js build without ssl, it will load 'node-inspect/lib/internal/inspect_client' as well. Due to that two deprecation warnings will be emitted instead of one and the test fails. It should be safe to just test all other cases and to ignore this specific file. PR-URL: https://github.com/nodejs/node/pull/26619 Fixes: https://github.com/nodejs/node/issues/26480 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
-rw-r--r--test/parallel/test-require-deps-deprecation.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/parallel/test-require-deps-deprecation.js b/test/parallel/test-require-deps-deprecation.js
index 5bee24a5db..e2c8e9c1e6 100644
--- a/test/parallel/test-require-deps-deprecation.js
+++ b/test/parallel/test-require-deps-deprecation.js
@@ -4,7 +4,6 @@ const common = require('../common');
const assert = require('assert');
const deprecatedModules = [
- 'node-inspect/lib/_inspect',
'node-inspect/lib/internal/inspect_client',
'node-inspect/lib/internal/inspect_repl',
'v8/tools/SourceMap',