test: fix typo in common/index.js

All tests using enoughTestCpu checks are always having the checks come
back false due to a typo in common/index.js. Fix the typo.

PR-URL: https://github.com/nodejs/node/pull/31931
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Rich Trott authored and Shelley Vohr committed 2020-03-30 11:00:15 -07:00
1 parent ae9f58cbdd
commit 0c6fdfc4ac
1 file changed
+1 -1
+1 -1
View File
@@ -784,7 +784,7 @@ module.exports = {
skipIfReportDisabled,
skipIfWorker,
get enoughTestCPU() {
get enoughTestCpu() {
const cpus = require('os').cpus();
return Array.isArray(cpus) && (cpus.length > 1 || cpus[0].speed > 999);
},