Commit 913d45c
committed
fix(test): use valid ReachabilityOptions in handle-scan-reach test
Replace invalid `{ depth: 5 }` with proper ReachabilityOptions object
containing all required properties:
- reachAnalysisTimeout
- reachAnalysisMemoryLimit
- reachDisableAnalytics
- reachEcosystems
- reachExcludePaths
- reachMinSeverity
- reachSkipCache
- reachUseUnreachableFromPrecomputation
Fixes TypeScript error: "Object literal may only specify known
properties, and 'depth' does not exist in type 'ReachabilityOptions'"1 parent 6940d39 commit 913d45c
File tree
1 file changed
+20
-2
lines changed- packages/cli/test/unit/commands/scan
1 file changed
+20
-2
lines changedLines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
| |||
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
130 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
131 | 149 | | |
132 | 150 | | |
133 | 151 | | |
| |||
0 commit comments