(args: string[])
| 32 | } |
| 33 | |
| 34 | function json(args: string[]) { |
| 35 | const result = run([...args, '--json']); |
| 36 | expect(result.status, result.stderr).toBe(0); |
| 37 | return JSON.parse(result.stdout); |
| 38 | } |
| 39 | |
| 40 | beforeAll(async () => { |
| 41 | projectRoot = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-impl-2833-')); |
no test coverage detected