Remove gitignore functionality from text_editor_view tool

This commit is contained in:
Alex Gleason committed 2025-09-30 11:55:25 -05:00
1 parent 98f584a851
commit 4edbb8a73a
2 files changed
+6 -71

No files matched your search

+2 -3
View File
@@ -167,14 +167,13 @@ describe('TextEditorViewTool', () => {
tool = new TextEditorViewTool(mockFS, '/project');
});
it('should handle viewing current directory without ignore library errors', async () => {
it('should handle viewing current directory', async () => {
const result = await tool.execute({ path: '.' });
expect(result).toContain('src/');
expect(result).toContain('package.json');
// .git should be filtered out by gitignore, but .gitignore should be present
expect(result).toContain('.gitignore');
expect(result).not.toContain('.git/'); // Check for .git directory specifically
expect(result).toContain('.git/'); // .git directory should now be visible
});
it('should handle viewing subdirectory', async () => {