mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -07:00
Improve test code coverage for cli/command/extensions package (#12994)
This commit is contained in:
@@ -451,7 +451,7 @@ describe('startInteractiveUI', () => {
|
||||
const mockConfig = {
|
||||
getProjectRoot: () => '/root',
|
||||
getScreenReader: () => false,
|
||||
} as Config;
|
||||
} as unknown as Config;
|
||||
const mockSettings = {
|
||||
merged: {
|
||||
ui: {
|
||||
@@ -477,7 +477,6 @@ describe('startInteractiveUI', () => {
|
||||
isKittyProtocolSupported: vi.fn(() => true),
|
||||
isKittyProtocolEnabled: vi.fn(() => true),
|
||||
}));
|
||||
|
||||
vi.mock('./ui/utils/updateCheck.js', () => ({
|
||||
checkForUpdates: vi.fn(() => Promise.resolve(null)),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user