From 918c2b67cc46b8a71dc6978463b171db4b2acd8c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 24 Feb 2020 08:17:28 -0800 Subject: [PATCH] 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 Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: Yongsheng Zhang Reviewed-By: Anna Henningsen --- test/common/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/index.js b/test/common/index.js index 2e2d14dc0e6d43..1e66e32c9c1260 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -717,7 +717,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); },