mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 22:14:52 -07:00
fix(cli): Fix type errors in UI hooks tests (#11483)
This commit is contained in:
@@ -148,6 +148,7 @@ describe('useAtCompletion', () => {
|
||||
useGitignore: false,
|
||||
useGeminiignore: false,
|
||||
cache: false,
|
||||
cacheTtl: 0,
|
||||
enableRecursiveFileSearch: true,
|
||||
disableFuzzySearch: false,
|
||||
});
|
||||
@@ -239,8 +240,8 @@ describe('useAtCompletion', () => {
|
||||
initialize: vi.fn().mockResolvedValue(undefined),
|
||||
search: vi
|
||||
.fn()
|
||||
.mockImplementation(async (...args) =>
|
||||
realFileSearch.search(...args),
|
||||
.mockImplementation(async (pattern, options) =>
|
||||
realFileSearch.search(pattern, options),
|
||||
),
|
||||
};
|
||||
vi.spyOn(FileSearchFactory, 'create').mockReturnValue(mockFileSearch);
|
||||
|
||||
Reference in New Issue
Block a user