From 2e7bea6231f371cf785d50591045e308b70f76ce Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Sat, 6 Apr 2024 07:36:09 -0700 Subject: [PATCH] docs: add `serial` to config options all CLI options can be overridden but this one was omitted https://github.com/avajs/ava/blob/01ec2804ab9db0ab3ef11e3b5b0c5697d68f8bc5/lib/cli.js#L58-L63 I confirmed in code that it is observed https://github.com/avajs/ava/blob/01ec2804ab9db0ab3ef11e3b5b0c5697d68f8bc5/lib/cli.js#L438 --- docs/06-configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/06-configuration.md b/docs/06-configuration.md index 1ef433e0a..31531fe29 100644 --- a/docs/06-configuration.md +++ b/docs/06-configuration.md @@ -51,6 +51,7 @@ Arguments passed to the CLI will always take precedence over the CLI options con - `failFast`: stop running further tests once a test fails - `failWithoutAssertions`: if `false`, does not fail a test if it doesn't run [assertions](./03-assertions.md) - `environmentVariables`: specifies environment variables to be made available to the tests. The environment variables defined here override the ones from `process.env` +- `serial`: if `true`, prevents parallel execution of tests within a file - `tap`: if `true`, enables the [TAP reporter](./05-command-line.md#tap-reporter) - `verbose`: if `true`, enables verbose output (though there currently non-verbose output is not supported) - `snapshotDir`: specifies a fixed location for storing snapshot files. Use this if your snapshots are ending up in the wrong location