node/test/fixtures/resolve-paths
cjihrig 8578e81b2b
module: replace default paths in require.resolve()
Prior to this commit, the default search paths would be included
in the require.resolve() process, even if user specified paths
were provided. This commit causes the default paths to be
omitted by using a fake parent module.

Refs: https://github.com/nodejs/node/issues/5963
PR-URL: https://github.com/nodejs/node/pull/17113
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-11-21 11:38:12 -05:00
..
default module: replace default paths in require.resolve() 2017-11-21 11:38:12 -05:00
defined/node_modules/dep module: replace default paths in require.resolve() 2017-11-21 11:38:12 -05:00