summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/tests/node_compat/test/parallel/test-os.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/node_compat/test/parallel/test-os.js b/cli/tests/node_compat/test/parallel/test-os.js
index d8425d0d5..9de4f516f 100644
--- a/cli/tests/node_compat/test/parallel/test-os.js
+++ b/cli/tests/node_compat/test/parallel/test-os.js
@@ -125,6 +125,9 @@ const platform = os.platform();
is.string(platform);
assert.ok(platform.length > 0);
+const availableParallelism = os.availableParallelism();
+assert.ok(availableParallelism === navigator.hardwareConcurrency);
+
const arch = os.arch();
is.string(arch);
assert.ok(arch.length > 0);