Improve test code coverage for cli/command/extensions package (#12994)

This commit is contained in:
Megha Bansal
2025-11-13 21:28:01 -08:00
committed by GitHub
parent 555e25e633
commit 638dd2f6c0
12 changed files with 1904 additions and 251 deletions
+1 -2
View File
@@ -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)),
}));