mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-12 04:17:15 -07:00
Fixed TypeScript and ESLint errors properly without any or ignores
This commit is contained in:
@@ -49,8 +49,9 @@ describe('telemetry_gcp.js', () => {
|
||||
await import('../telemetry_gcp.js');
|
||||
|
||||
expect(mockSpawn).toHaveBeenCalled();
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const spawnOptions = (mockSpawn.mock.calls[0] as any[])[2];
|
||||
const spawnOptions = (
|
||||
mockSpawn.mock.calls[0] as { env?: Record<string, string> }[]
|
||||
)[2];
|
||||
expect(spawnOptions?.env).not.toHaveProperty(
|
||||
'GOOGLE_APPLICATION_CREDENTIALS',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user