mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-19 08:14:35 -07:00
fix unit test
This commit is contained in:
@@ -144,7 +144,11 @@ describe('ConsolePatcher', () => {
|
||||
|
||||
it('should ignore log and info when debugMode is false', () => {
|
||||
const spyError = vi.spyOn(console, 'error').mockImplementation(() => {});
|
||||
patcher = new ConsolePatcher({ debugMode: false, stderr: true });
|
||||
patcher = new ConsolePatcher({
|
||||
debugMode: false,
|
||||
stderr: true,
|
||||
headlessMode: true,
|
||||
});
|
||||
patcher.patch();
|
||||
|
||||
console.log('test log');
|
||||
|
||||
Reference in New Issue
Block a user