Skip to content

Commit 745e00b

Browse files
committed
test: use process.features.debug in common module
Replace process.config.target_defaults.default_configuration check with process.features.debug. Refs: nodejs#4431 (comment)
1 parent 5118f31 commit 745e00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ exports.spawnSyncPwd = function(options) {
340340
};
341341

342342
exports.platformTimeout = function(ms) {
343-
if (process.config.target_defaults.default_configuration === 'Debug')
343+
if (process.features.debug)
344344
ms = 2 * ms;
345345

346346
if (global.__coverage__)

0 commit comments

Comments
 (0)