mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-16 00:51:25 -07:00
chore: fix test
This commit is contained in:
@@ -54,7 +54,12 @@ describe('LoginWithGoogleRestartDialog', () => {
|
||||
vi.useRealTimers();
|
||||
_resetRelaunchStateForTesting();
|
||||
originalSend = process.send;
|
||||
process.send = vi.fn();
|
||||
process.send = vi.fn((_message, callback) => {
|
||||
if (typeof callback === 'function') {
|
||||
callback(null);
|
||||
}
|
||||
return true;
|
||||
});
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user