From 8663b05711e23d6d6c65522bf5ac901a186dd85e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 26 Oct 2017 16:50:43 -0700 Subject: [PATCH] test: use process.features.debug in common module Replace process.config.target_defaults.default_configuration check with process.features.debug. PR-URL: https://github.com/nodejs/node/pull/16537 Ref: https://github.com/nodejs/node/pull/4431#issuecomment-173663527 Reviewed-By: Refael Ackermann Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig --- test/common/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/index.js b/test/common/index.js index 57e7826b8b7df5..148dad20001b04 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -276,7 +276,7 @@ exports.spawnSyncPwd = function(options) { }; exports.platformTimeout = function(ms) { - if (process.config.target_defaults.default_configuration === 'Debug') + if (process.features.debug) ms = 2 * ms; if (exports.isAix)