mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doc: correct concurrency wording in test() documentation
PR-URL: https://github.com/nodejs/node/pull/60773 Reviewed-By: Ethan Arrowood <ethan@arrowood.dev> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
This commit is contained in:
1 parent
c98c0881c5
commit
a0691d6eb6
1 file changed
+2
-2
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user