Clear and concise description of the problem
Currently running vitest run --coverage --project <project_a> will result in all other projects reporting no coverage.
Suggested solution
Report only the coverage of the filtered projects when using the --project flag.
Alternative
By default, set the all flag to false if using --project (not quite the same but close)
Additional context
Getting accurate project coverage while testing in a monorepo is hard and you have to resort to npm run cover -w <project_a> which generates a coverage folder that isn't ignored by default at the project level.
Closest I have gotten is using the all:false flag which still doesn't quite do what I'm looking for
Validations
Clear and concise description of the problem
Currently running
vitest run --coverage --project <project_a>will result in all other projects reporting no coverage.Suggested solution
Report only the coverage of the filtered projects when using the
--projectflag.Alternative
By default, set the
allflag tofalseif using--project(not quite the same but close)Additional context
Getting accurate project coverage while testing in a monorepo is hard and you have to resort to
npm run cover -w <project_a>which generates acoveragefolder that isn't ignored by default at the project level.Closest I have gotten is using the
all:falseflag which still doesn't quite do what I'm looking forValidations