diff --git a/test/common/index.js b/test/common/index.js index a659a91697e9c9..bd4a0c339a8051 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -340,7 +340,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 (global.__coverage__)