(
t: import('node:test').TestContext
)
| 11 | import { git } from '../../../src/lib/git' |
| 12 | |
| 13 | async function createEmptyBareRepository( |
| 14 | t: import('node:test').TestContext |
| 15 | ): Promise<string> { |
| 16 | const bareParentPath = await createTempDirectory(t) |
| 17 | const barePath = path.join(bareParentPath, 'remote.git') |
| 18 | await git(['init', '--bare', barePath], bareParentPath, 'initBareRepository') |
| 19 | return barePath |
| 20 | } |
| 21 | |
| 22 | describe('git/clone', () => { |
| 23 | it('clones a local repository', async t => { |
no test coverage detected