diff --git a/test/common/index.js b/test/common/index.js index c161f2a9a9..84c89f6166 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -338,7 +338,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__)