(run)
| 13 | } |
| 14 | |
| 15 | function withTempProject(run) { |
| 16 | const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'citadel-operator-journey-')); |
| 17 | try { |
| 18 | return run(dir); |
| 19 | } finally { |
| 20 | fs.rmSync(dir, { recursive: true, force: true }); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | function completeBuildAndVerify(campaignPath) { |
| 25 | let campaign = fs.readFileSync(campaignPath, 'utf8'); |
no test coverage detected