We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd250b8 commit 15c295aCopy full SHA for 15c295a
test/common.js
@@ -243,10 +243,15 @@ exports.platformTimeout = function(ms) {
243
if (process.arch !== 'arm')
244
return ms;
245
246
- if (process.config.variables.arm_version === '6')
+ const armv = process.config.variables.arm_version;
247
+
248
+ if (armv === '6')
249
return 7 * ms; // ARMv6
250
- return 2 * ms; // ARMv7 and up.
251
+ if (armv === '7')
252
+ return 2 * ms; // ARMv7
253
254
+ return ms; // ARMv8+
255
};
256
257
var knownGlobals = [setTimeout,
0 commit comments