(dir: string)
| 6 | import { GitSandbox } from '../src/agent/git-sandbox.js'; |
| 7 | |
| 8 | function gitInit(dir: string) { |
| 9 | const run = (args: string[]) => execFileSync('git', ['-C', dir, ...args], { stdio: 'pipe' }); |
| 10 | run(['init', '-q']); |
| 11 | run(['config', 'user.email', 't@t.com']); |
| 12 | run(['config', 'user.name', 't']); |
| 13 | run(['config', 'commit.gpgsign', 'false']); |
| 14 | } |
| 15 | |
| 16 | describe('GitSandbox', () => { |
| 17 | let dir: string; |
no test coverage detected