mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -07:00
test: support tests that include color information (#20220)
This commit is contained in:
@@ -23,6 +23,9 @@ if (process.env.NO_COLOR !== undefined) {
|
||||
delete process.env.NO_COLOR;
|
||||
}
|
||||
|
||||
// Force true color output for ink so that snapshots always include color information.
|
||||
process.env.FORCE_COLOR = '3';
|
||||
|
||||
import './src/test-utils/customMatchers.js';
|
||||
|
||||
let consoleErrorSpy: vi.SpyInstance;
|
||||
|
||||
Reference in New Issue
Block a user