mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-11 18:40:57 -07:00
Implement background process monitoring and inspection tools (#23799)
This commit is contained in:
@@ -416,7 +416,11 @@ describe('ShellTool', () => {
|
||||
// Advance time to trigger the background timeout
|
||||
await vi.advanceTimersByTimeAsync(250);
|
||||
|
||||
expect(mockShellBackground).toHaveBeenCalledWith(12345);
|
||||
expect(mockShellBackground).toHaveBeenCalledWith(
|
||||
12345,
|
||||
'default',
|
||||
'sleep 10',
|
||||
);
|
||||
|
||||
await promise;
|
||||
});
|
||||
@@ -656,7 +660,11 @@ describe('ShellTool', () => {
|
||||
// Advance time to trigger the background timeout
|
||||
await vi.advanceTimersByTimeAsync(250);
|
||||
|
||||
expect(mockShellBackground).toHaveBeenCalledWith(12345);
|
||||
expect(mockShellBackground).toHaveBeenCalledWith(
|
||||
12345,
|
||||
'default',
|
||||
'sleep 10',
|
||||
);
|
||||
|
||||
await promise;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user