mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Remove gitignore functionality from text_editor_view tool
This commit is contained in:
2 files changed
+6
-71
No files matched your search
@@ -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 () => {
|
||||
|
||||
Reference in new issue
Block a user