Skip to content

Commit 6cb0944

Browse files
authored
Document that concurrency can be configured in the config files
1 parent 41e9473 commit 6cb0944

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/06-configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Arguments passed to the CLI will always take precedence over the CLI options con
4646
- `ignoredByWatcher`: an array of glob patterns to match files that, even if changed, are ignored by the watcher. See the [watch mode recipe for details](https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md)
4747
- `match`: not typically useful in the `package.json` configuration, but equivalent to [specifying `--match` on the CLI](./05-command-line.md#running-tests-with-matching-titles)
4848
- `cache`: cache compiled files under `node_modules/.cache/ava`. If `false`, files are cached in a temporary directory instead
49+
- `concurrency`: max number of test files running at the same time (default: CPU cores)
4950
- `failFast`: stop running further tests once a test fails
5051
- `failWithoutAssertions`: if `false`, does not fail a test if it doesn't run [assertions](./03-assertions.md)
5152
- `environmentVariables`: specifies environment variables to be made available to the tests. The environment variables defined here override the ones from `process.env`

0 commit comments

Comments
 (0)