(t, reify, extras, { command, ...config } = {})
| 451 | |
| 452 | t.test('prints unreviewed install scripts summary', async t => { |
| 453 | const mockReifyWithExtras = async (t, reify, extras, { command, ...config } = {}) => { |
| 454 | const mock = await mockNpm(t, { command, config }) |
| 455 | Object.defineProperty(mock.npm, 'command', { |
| 456 | get () { |
| 457 | return command |
| 458 | }, |
| 459 | enumerable: true, |
| 460 | }) |
| 461 | reifyOutput(mock.npm, reify, extras) |
| 462 | mock.npm.finish() |
| 463 | return mock |
| 464 | } |
| 465 | |
| 466 | const baseReify = { |
| 467 | actualTree: { name: 'host', inventory: { has: () => false } }, |
no test coverage detected
searching dependent graphs…