mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-17 13:30:53 -07:00
Fixed TypeScript and ESLint errors properly without any or ignores
This commit is contained in:
@@ -18,8 +18,9 @@ import { cleanup } from './src/test-utils/render.js';
|
||||
// Globally mock ink-spinner to prevent non-deterministic snapshot/act flakes.
|
||||
mockInkSpinner();
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
(global as any).IS_REACT_ACT_ENVIRONMENT = true;
|
||||
(
|
||||
global as typeof global & { IS_REACT_ACT_ENVIRONMENT: boolean }
|
||||
).IS_REACT_ACT_ENVIRONMENT = true;
|
||||
|
||||
// Increase max listeners to avoid warnings in large test suites
|
||||
coreEvents.setMaxListeners(0);
|
||||
|
||||
Reference in New Issue
Block a user