mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-12 23:21:27 -07:00
Remove test.
This commit is contained in:
@@ -331,16 +331,6 @@ describe('converter', () => {
|
||||
const genaiRes = fromGenerateContentResponse(codeAssistRes);
|
||||
expect(genaiRes.responseId).toBeUndefined();
|
||||
});
|
||||
|
||||
it('should handle missing response property gracefully', () => {
|
||||
const invalidRes = {
|
||||
traceId: 'some-trace-id',
|
||||
} as unknown as CaGenerateContentResponse;
|
||||
|
||||
const genaiRes = fromGenerateContentResponse(invalidRes);
|
||||
expect(genaiRes.responseId).toEqual('some-trace-id');
|
||||
expect(genaiRes.candidates).toEqual([]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('toContents', () => {
|
||||
|
||||
Reference in New Issue
Block a user