(run)
| 15 | } |
| 16 | |
| 17 | function withTempProject(run) { |
| 18 | const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'citadel-operating-proof-')); |
| 19 | try { |
| 20 | return run(dir); |
| 21 | } finally { |
| 22 | fs.rmSync(dir, { recursive: true, force: true }); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | assert.equal(parseArgs(['--json', '--write', '--route-request', 'review docs']).routeRequest, 'review docs'); |
| 27 |
no test coverage detected