From a0691d6eb6303d2bfeac12e97ff5ebfef09d42b2 Mon Sep 17 00:00:00 2001 From: Azad Gupta <158742337+azadgupta1@users.noreply.github.com> Date: Thu, 20 Nov 2025 16:22:50 +0530 Subject: [PATCH] doc: correct concurrency wording in test() documentation PR-URL: https://github.com/nodejs/node/pull/60773 Reviewed-By: Ethan Arrowood Reviewed-By: Antoine du Hamel Reviewed-By: Jacob Smith Reviewed-By: Xuguang Mei --- doc/api/test.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/test.md b/doc/api/test.md index 21349b46b70..338c18aa620 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -1619,7 +1619,7 @@ changes: * `options` {Object} Configuration options for the test. The following properties are supported: * `concurrency` {number|boolean} If a number is provided, - then that many tests would run in parallel within the application thread. + then that many tests would run asynchronously (they are still managed by the single-threaded event loop). If `true`, all scheduled asynchronous tests run concurrently within the thread. If `false`, only one test runs at a time. If unspecified, subtests inherit this value from their parent. @@ -3882,7 +3882,7 @@ changes: * `options` {Object} Configuration options for the subtest. The following properties are supported: * `concurrency` {number|boolean|null} If a number is provided, - then that many tests would run in parallel within the application thread. + then that many tests would run asynchronously (they are still managed by the single-threaded event loop). If `true`, it would run all subtests in parallel. If `false`, it would only run one test at a time. If unspecified, subtests inherit this value from their parent.