Skip to content

Commit 83ebaf0

Browse files
joyeecheungtargos
authored andcommitted
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: #19374 PR-URL: #19177 Refs: #19112 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent ebdcf91 commit 83ebaf0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/parallel/test-module-loading-globalpaths.js

-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ if (process.argv[2] === 'child') {
4141
const testFixturesDir = fixtures.path(path.basename(__filename, '.js'));
4242

4343
const env = Object.assign({}, process.env);
44-
// Turn on module debug to aid diagnosing failures.
45-
env.NODE_DEBUG = 'module';
4644
// Unset NODE_PATH.
4745
delete env.NODE_PATH;
4846

0 commit comments

Comments
 (0)