Skip to content

Commit 45085cf

Browse files
docs: adjust example for merging sharded results with coverage (#7337)
1 parent 5e001ee commit 45085cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guide/features.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ Run tests on different machines using [`--shard`](/guide/cli#shard) and [`--repo
237237
All test and coverage results can be merged at the end of your CI pipeline using `--merge-reports` command:
238238

239239
```bash
240-
vitest --shard=1/2 --reporter=blob
241-
vitest --shard=2/2 --reporter=blob
242-
vitest --merge-reports --reporter=junit --coverage.reporter=text
240+
vitest --shard=1/2 --reporter=blob --coverage
241+
vitest --shard=2/2 --reporter=blob --coverage
242+
vitest --merge-reports --reporter=junit --coverage
243243
```
244244

245245
See [`Improving Performance | Sharding`](/guide/improving-performance#sharding) for more information.

0 commit comments

Comments
 (0)