Skip to content

Commit

Permalink
test: fix typo in common/index.js
Browse files Browse the repository at this point in the history
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: #31931
Reviewed-By: Denys Otrishko <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
Trott authored and codebytere committed Feb 27, 2020
1 parent b74c40e commit 918c2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down

0 comments on commit 918c2b6

Please sign in to comment.