Skip to content

Commit

Permalink
doc: replace top level with --test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
98lenvi committed Jul 19, 2022
1 parent 6cff8e3 commit f3eb079
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,11 @@ changes:
properties are supported:
* `concurrency` {number|boolean} If a number is provided,
then that many tests would run in parallel.
If truthy, on top level, it would run (number of cpu cores - 1)
tests in parallel.
If truthy, when running in `--test` mode, it would run
(number of cpu cores - 1) tests in parallel.
For subtests, it will be infinity tests in parallel.
If falsy, on top level & subtest level it would only run one test at a time.
If falsy, when running in `--test` mode & subtest level
it would only run one test at a time.
If unspecified, subtests inherit this value from their parent.
**Default:** `1`.
* `only` {boolean} If truthy, and the test context is configured to run
Expand Down

0 comments on commit f3eb079

Please sign in to comment.