summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-03-14 20:56:28 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-03-15 20:39:31 +0800
commitd9d0a97541d7a9b478ecc500e5961ad349f42540 (patch)
treecd97dccf8808cafb2168c32bd367ccecb3da28d0
parent1ac14244763a7f87d51a517f0817eca82cbc86b6 (diff)
downloadandroid-node-v8-d9d0a97541d7a9b478ecc500e5961ad349f42540.tar.gz
android-node-v8-d9d0a97541d7a9b478ecc500e5961ad349f42540.tar.bz2
android-node-v8-d9d0a97541d7a9b478ecc500e5961ad349f42540.zip
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: 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>
-rw-r--r--test/parallel/test-module-loading-globalpaths.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/parallel/test-module-loading-globalpaths.js b/test/parallel/test-module-loading-globalpaths.js
index aff9654373..798b7765bb 100644
--- a/test/parallel/test-module-loading-globalpaths.js
+++ b/test/parallel/test-module-loading-globalpaths.js
@@ -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;