(rel: string, body: string)
| 29 | const git = (...args: string[]) => |
| 30 | cp.execFileSync('git', args, { cwd: repo, encoding: 'utf8', stdio: ['pipe', 'pipe', 'pipe'] }) as string; |
| 31 | const write = (rel: string, body: string) => { |
| 32 | fs.mkdirSync(path.dirname(path.join(repo, rel)), { recursive: true }); |
| 33 | fs.writeFileSync(path.join(repo, rel), body); |
| 34 | }; |
| 35 | git('init', '-q'); |
| 36 | git('config', 'user.email', 'test@example.invalid'); |
| 37 | git('config', 'user.name', 'Test'); |
no test coverage detected