fix(process-utils): replace wmic with powershell for windows process (#7087)

Co-authored-by: Shreya Keshive <skeshive@gmail.com>
Co-authored-by: Arya Gummadi <aryagummadi@google.com>
This commit is contained in:
Davor Racic
2025-08-28 16:09:01 +02:00
committed by GitHub
parent 58f6828833
commit 92bb34fada
4 changed files with 139 additions and 14 deletions
+10
View File
@@ -100,6 +100,16 @@ vi.mock('../services/gitService.js', () => {
return { GitService: GitServiceMock };
});
vi.mock('../ide/ide-client.js', () => ({
IdeClient: {
getInstance: vi.fn().mockResolvedValue({
getConnectionStatus: vi.fn(),
initialize: vi.fn(),
shutdown: vi.fn(),
}),
},
}));
describe('Server Config (config.ts)', () => {
const MODEL = 'gemini-pro';
const SANDBOX: SandboxConfig = {