diff options
| author | Taylor Mullen <[email protected]> | 2025-05-25 14:59:45 -0700 |
|---|---|---|
| committer | N. Taylor Mullen <[email protected]> | 2025-05-25 15:02:08 -0700 |
| commit | 3281cbc835ae77d0c33662485505651d01a984cc (patch) | |
| tree | 8a53ec0bdaf86dc99a1c36aa96102e63eb4f9edd /packages/cli/src/ui/components/messages/ToolMessage.tsx | |
| parent | 5097b5a6563a4d514242580495c5974b7e665c3f (diff) | |
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
Diffstat (limited to 'packages/cli/src/ui/components/messages/ToolMessage.tsx')
0 files changed, 0 insertions, 0 deletions
