mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 22:02:59 -07:00
fix(telemetry): update trace.test.ts to expect conversation id in span attributes
This commit is contained in:
@@ -137,7 +137,11 @@ describe('runInDevTraceSpan', () => {
|
||||
expect(trace.getTracer).toHaveBeenCalled();
|
||||
expect(mockTracer.startActiveSpan).toHaveBeenCalledWith(
|
||||
GeminiCliOperation.LLMCall,
|
||||
{},
|
||||
{
|
||||
attributes: {
|
||||
[GEN_AI_CONVERSATION_ID]: 'test-session-id',
|
||||
},
|
||||
},
|
||||
expect.any(Function),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user