gemini-cli/packages/server/src
Taylor Mullen 3281cbc835 Fix(test): Improve write-file and editCorrector test suites
- 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
2025-05-25 15:02:08 -07:00
..
__mocks__/fs Support Images and PDFs (#447) 2025-05-20 13:02:41 -07:00
config MCP SSE support (#511) 2025-05-23 17:19:30 -04:00
core fix: do not retry cancelled tool calls (#504) 2025-05-23 17:30:09 +00:00
tools Fix(test): Improve write-file and editCorrector test suites 2025-05-25 15:02:08 -07:00
utils Fix(test): Improve write-file and editCorrector test suites 2025-05-25 15:02:08 -07:00
index.test.ts add linter for checking license headers (and eslint --fix target to match, and fix missing license headers while we're here) (#62) 2025-04-20 17:16:25 -07:00
index.ts Refactor(server): Centralize GEMINI.md discovery logic in server (#498) 2025-05-23 08:53:22 -07:00