mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 13:04:49 -07:00
test(cli): force generic terminal in tests to fix snapshot failures (#23499)
This commit is contained in:
@@ -30,6 +30,9 @@ process.env.FORCE_COLOR = '3';
|
||||
// Force generic keybinding hints to ensure stable snapshots across different operating systems.
|
||||
process.env.FORCE_GENERIC_KEYBINDING_HINTS = 'true';
|
||||
|
||||
// Force generic terminal declaration to ensure stable snapshots across different host environments.
|
||||
process.env.TERM_PROGRAM = 'generic';
|
||||
|
||||
import './src/test-utils/customMatchers.js';
|
||||
|
||||
let consoleErrorSpy: vi.SpyInstance;
|
||||
|
||||
Reference in New Issue
Block a user