(tarball, options)
| 19 | }) |
| 20 | |
| 21 | const printLogs = (tarball, options) => { |
| 22 | const logs = [] |
| 23 | const { logTar } = mockTar({ |
| 24 | notice: (...args) => logs.push(...args), |
| 25 | }) |
| 26 | logTar(tarball, options) |
| 27 | return logs.join('\n') |
| 28 | } |
| 29 | |
| 30 | t.test('should log tarball contents', async (t) => { |
| 31 | const testDir = t.testdir({ |