Skip to content

Commit

Permalink
fix: coverage.100 crash when using as an cli argument (#4346)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelobotega authored Oct 31, 2023
1 parent eda66e8 commit 0db386d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cli
.option('--hideSkippedTests', 'Hide logs for skipped tests')
.option('--reporter <name>', 'Specify reporters')
.option('--outputFile <filename/-s>', 'Write test results to a file when supporter reporter is also specified, use cac\'s dot notation for individual outputs of multiple reporters')
.option('--coverage', 'Enable coverage report')
.option('--coverage', 'Enable coverage report', { default: { 100: false } })
.option('--run', 'Disable watch mode')
.option('--mode <name>', 'Override Vite mode (default: test)')
.option('--globals', 'Inject apis globally')
Expand Down

0 comments on commit 0db386d

Please sign in to comment.