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)