(cmd: string, args: string[])
| 75 | beforeAll(() => { |
| 76 | workDir = mkdtempSync(join(tmpdir(), 'skill-e2e-brain-writeback-')); |
| 77 | const run = (cmd: string, args: string[]) => |
| 78 | spawnSync(cmd, args, { cwd: workDir, stdio: 'pipe', timeout: 5000 }); |
| 79 | run('git', ['init', '-b', 'main']); |
| 80 | run('git', ['config', 'user.email', 'test@test.com']); |
| 81 | run('git', ['config', 'user.name', 'Test']); |