()
| 14 | const { computeAssetId } = require('../src/gep/contentHash'); |
| 15 | |
| 16 | function capture() { |
| 17 | let text = ''; |
| 18 | return { |
| 19 | out: { write: s => { text += s; } }, |
| 20 | text: () => text, |
| 21 | json: () => JSON.parse(text), |
| 22 | }; |
| 23 | } |
| 24 | |
| 25 | async function captureProcessOutput(fn) { |
| 26 | let stdout = ''; |
no test coverage detected