Skip to content

Commit bb78153

Browse files
authored
Modify vitest command to include coverage
Updated command to include coverage option for blob reporter.
1 parent 424465d commit bb78153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/vitest/cookbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To run a subset of your test suite you can use the `KNAPSACK_PRO_TEST_FILE_*` en
1818
Use the [blob reporter](https://vitest.dev/guide/reporters.html#blob-reporter) without specifying an `outputFile`. Later, execute `vitest --merge-reports` to output coverage or any aggregated reports you need (e.g., `json`):
1919

2020
```bash
21-
npx @knapsack-pro/vitest --reporter=blob
21+
npx @knapsack-pro/vitest --coverage --reporter=blob
2222
npx vitest --merge-reports --coverage
2323
```
2424

0 commit comments

Comments
 (0)