Commit dad9cb8
fix: update CLI argument parser test expectations for default options
The CLI tests were failing because they expected empty options `{}` but
now receive a full options object with default values due to CLI improvements.
Updated both failing test cases in argument-parser.test.ts:
- 'should handle empty arguments and return help context'
- 'should handle help flags without process.exit'
Both tests now correctly expect the default options object:
- autoConfig: false
- autoSample: false
- continueOnError: false
- dryRun: false
- enableCaching: undefined
- enableHashing: true
- fallbackOnError: true
- force: false
- forceIndividual: false
- forceSequential: false
- includeEnvironment: true
- progressiveReporting: false
- quiet: false
- showProgress: true
- streamingOptimizations: false
- verbose: false
All CLI argument parser tests now pass (55/55).
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ee5a523 commit dad9cb8
1 file changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
57 | 74 | | |
58 | 75 | | |
59 | 76 | | |
| |||
63 | 80 | | |
64 | 81 | | |
65 | 82 | | |
66 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
67 | 101 | | |
68 | 102 | | |
69 | 103 | | |
| |||
0 commit comments