()
| 13 | }) |
| 14 | |
| 15 | function makeRepoRoot(): string { |
| 16 | const dir = mkdtempSync(join(tmpdir(), 'ncode-worktrees-')) |
| 17 | tempDirs.push(dir) |
| 18 | return dir |
| 19 | } |
| 20 | |
| 21 | describe('getWorktreesDir', () => { |
| 22 | test('defaults to canonical .ncode/worktrees for new repos', () => { |
no outgoing calls
no test coverage detected