Skip to content

Commit 8ce8889

Browse files
committed
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: nodejs#19177 Refs: nodejs#19112 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent ff9a0eb commit 8ce8889

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
@@ -38,8 +38,6 @@ if (process.argv[2] === 'child') {
3838
const testFixturesDir = fixtures.path(path.basename(__filename, '.js'));
3939

4040
const env = Object.assign({}, process.env);
41-
// Turn on module debug to aid diagnosing failures.
42-
env['NODE_DEBUG'] = 'module';
4341
// Unset NODE_PATH.
4442
delete env['NODE_PATH'];
4543

0 commit comments

Comments
 (0)