- Enhanced by: - Mocking and utilities (, ) to allow for more focused unit testing of . - Adding comprehensive tests for the private method, covering new and existing file scenarios, as well as error handling. - Expanding tests for and to verify behavior with the new content correction logic, including diff generation and directory creation. - Refined by: - Introducing robust mocking for and its methods (, , ) to simulate LLM interactions accurately. - Adding extensive test scenarios for , categorized by how matches and how is processed, including direct matches, unescaping, and LLM-based corrections. - Including tests for edge cases like no matches or multiple matches. - Adding a utility for better test isolation. Final fix for https://github.com/google-gemini/gemini-cli/issues/484 |
||
|---|---|---|
| .. | ||
| editCorrector.test.ts | ||
| editCorrector.ts | ||
| errorReporting.test.ts | ||
| errorReporting.ts | ||
| errors.ts | ||
| generateContentResponseUtilities.ts | ||
| getFolderStructure.test.ts | ||
| getFolderStructure.ts | ||
| LruCache.ts | ||
| memoryDiscovery.test.ts | ||
| memoryDiscovery.ts | ||
| nextSpeakerChecker.test.ts | ||
| nextSpeakerChecker.ts | ||
| paths.ts | ||
| schemaValidator.ts | ||