We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bb4d85 commit 70281ceCopy full SHA for 70281ce
test/common/index.js
@@ -118,8 +118,9 @@ const enoughTestCpu = Array.isArray(cpus) &&
118
119
const rootDir = isWindows ? 'c:\\' : '/';
120
121
-const buildType = process.config.target_defaults.default_configuration;
122
-
+const buildType = process.config.target_defaults ?
+ process.config.target_defaults.default_configuration :
123
+ 'Release';
124
125
// If env var is set then enable async_hook hooks for all tests.
126
if (process.env.NODE_TEST_WITH_ASYNC_HOOKS) {
0 commit comments