Skip to content

Commit

Permalink
test: fix test by removing node-inspect/lib/_inspect
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
BridgeAR committed Mar 13, 2019
1 parent 348d9a6 commit b581bb0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/parallel/test-require-deps-deprecation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b581bb0

Please sign in to comment.