avajs / ava

Node.js test runner that lets you develop with confidence 🚀
MIT License
20.73k stars 1.4k forks source link

docs: add `serial` to config options #3321

Closed turadg closed 5 months ago

turadg commented 5 months ago

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

It wasn't clear to me what order to use so I put it before tap as it is in cli.js.

I'd suggest partitioning the options list into ones that are available in CLI and aren't, but I didn't know if that would be welcomed

turadg commented 5 months ago

ping @novemberborn

novemberborn commented 5 months ago

Thanks @turadg !

Re partitioning, the CLI flags are already documented elsewhere right? Would it add much value to split the option list?