@@ -678,11 +678,9 @@ added:
678678  properties are supported:
679679  *  ` concurrency `  {number|boolean} If a number is provided,
680680    then that many files would run in parallel.
681-     If truthy, it would run (number of cpu cores - 1)
682-     files in parallel.
683-     If falsy, it would only run one file at a time.
684-     If unspecified, subtests inherit this value from their parent.
685-     ** Default:**  ` true ` .
681+     If ` true ` , it would run ` os.availableParallelism() - 1 `  test files in parallel.
682+     If ` false ` , it would only run one test file at a time.
683+     ** Default:**  ` false ` .
686684  *  ` files ` : {Array} An array containing the list of files to run.
687685    ** Default**  matching files from [ test runner execution model] [ ] .
688686  *  ` signal `  {AbortSignal} Allows aborting an in-progress test execution.
@@ -728,10 +726,9 @@ changes:
728726  properties are supported:
729727  *  ` concurrency `  {number|boolean} If a number is provided,
730728    then that many tests would run in parallel.
731-     If truthy, it would run (number of cpu cores - 1)
732-     tests in parallel.
729+     If ` true ` , it would run ` os.availableParallelism() - 1 `  test files in parallel.
733730    For subtests, it will be ` Infinity `  tests in parallel.
734-     If falsy , it would only run one test at a time.
731+     If ` false ` , it would only run one test file  at a time.
735732    If unspecified, subtests inherit this value from their parent.
736733    ** Default:**  ` false ` .
737734  *  ` only `  {boolean} If truthy, and the test context is configured to run
@@ -1645,9 +1642,12 @@ changes:
16451642  ` fn `  does not have a name.
16461643*  ` options `  {Object} Configuration options for the subtest. The following
16471644  properties are supported:
1648-   *  ` concurrency `  {number} The number of tests that can be run at the same time.
1645+   *  ` concurrency `  {number|boolean|null} If a number is provided,
1646+     then that many tests would run in parallel.
1647+     If ` true ` , it would run all subtests in parallel.
1648+     If ` false ` , it would only run one test at a time.
16491649    If unspecified, subtests inherit this value from their parent.
1650-     ** Default:**  ` 1 ` .
1650+     ** Default:**  ` null ` .
16511651  *  ` only `  {boolean} If truthy, and the test context is configured to run
16521652    ` only `  tests, then this test will be run. Otherwise, the test is skipped.
16531653    ** Default:**  ` false ` .
0 commit comments