From 8c81d052129ade187bb7b8d037ace31ae268b26a Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 24 Feb 2020 08:21:33 -0800 Subject: [PATCH] test: add documentation for common.enoughTestCpu 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/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/common/README.md b/test/common/README.md index 35cc5ee010fc86..5ff90d3858e71e 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -68,6 +68,13 @@ sure no unexpected rejections occur, because currently they result in silent failures. However, it is useful in some rare cases to disable it, for example if the `unhandledRejection` hook is directly used by the test. +### `enoughTestCpu` + +* [<boolean>][] + +Indicates if there is more than 1 CPU or that the single CPU has a speed of at +least 1 GHz. + ### `enoughTestMem` * [<boolean>][]