mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-01 17:02:29 -07:00
chore(lint): enforce zero warnings and cleanup syntax restrictions (#22902)
This commit is contained in:
@@ -136,7 +136,9 @@ describe('Telemetry Sanitization', () => {
|
||||
const attributes = event.toOpenTelemetryAttributes(config);
|
||||
|
||||
// Should be JSON stringified
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
expect(typeof attributes['hook_input']).toBe('string');
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
expect(typeof attributes['hook_output']).toBe('string');
|
||||
|
||||
const parsedInput = JSON.parse(attributes['hook_input'] as string);
|
||||
|
||||
Reference in New Issue
Block a user