mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 14:23:02 -07:00
Update packages/core/src/services/worktreeService.test.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -100,7 +100,7 @@ describe('worktree utilities', () => {
|
||||
});
|
||||
|
||||
it('should return existing path and not call git if it already exists', async () => {
|
||||
vi.mocked(fs.access).mockResolvedValue(undefined);
|
||||
vi.mocked(fs.promises.stat).mockResolvedValue({ isDirectory: () => true } as any);
|
||||
|
||||
const resultPath = await createWorktree(projectRoot, worktreeName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user