(over: Partial<BinaryRemovalPlan> = {})
| 161 | } |
| 162 | |
| 163 | const plan = (over: Partial<BinaryRemovalPlan> = {}): BinaryRemovalPlan => ({ |
| 164 | paths: [], |
| 165 | npmGlobal: false, |
| 166 | npmRoot: null, |
| 167 | sourceRoot: null, |
| 168 | summary: [], |
| 169 | ...over, |
| 170 | }); |
| 171 | |
| 172 | it('removes planned paths and runs npm uninstall -g', () => { |
| 173 | const d = deps({}); |