mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
test: remove NODE_DEBUG in global module loading test
Otherwise the debug log output might be mixed up with the expected errors and the assertion matching the error message would fail. Backport-PR-URL: https://github.com/nodejs/node/pull/19374 PR-URL: https://github.com/nodejs/node/pull/19177 Refs: https://github.com/nodejs/node/pull/19112 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
parent
ebdcf91dcc
commit
83ebaf08d9
|
|
@ -41,8 +41,6 @@ if (process.argv[2] === 'child') {
|
|||
const testFixturesDir = fixtures.path(path.basename(__filename, '.js'));
|
||||
|
||||
const env = Object.assign({}, process.env);
|
||||
// Turn on module debug to aid diagnosing failures.
|
||||
env.NODE_DEBUG = 'module';
|
||||
// Unset NODE_PATH.
|
||||
delete env.NODE_PATH;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user