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

View File

@@ -83,7 +83,7 @@ vi.mock('@google/gemini-cli-core', async () => {
return {
...actualServer,
IdeClient: {
getInstance: vi.fn().mockReturnValue({
getInstance: vi.fn().mockResolvedValue({
getConnectionStatus: vi.fn(),
initialize: vi.fn(),
shutdown: vi.fn(),