Skip to content

Commit d3edb7f

Browse files
joyeecheungMylesBorins
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. PR-URL: #19177 Refs: #19112 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 99e6734 commit d3edb7f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
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)