diff --git a/test/sequential/test-module-loading.js b/test/sequential/test-module-loading.js index 630830f5dddff6..5bd84086129cc4 100644 --- a/test/sequential/test-module-loading.js +++ b/test/sequential/test-module-loading.js @@ -29,7 +29,8 @@ const path = require('path'); const backslash = /\\/g; -process.on('warning', common.mustNotCall()); +if (!process.env.NODE_PENDING_DEPRECATION) + process.on('warning', common.mustNotCall()); console.error('load test-module-loading.js');