refactor: simplify FilterReport and remove unused code (#11681)

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
Eric Rahm
2025-10-22 17:06:31 -07:00
committed by GitHub
parent d9f0b9c668
commit 92d412e542
6 changed files with 58 additions and 59 deletions
+2 -2
View File
@@ -149,7 +149,7 @@ describe('LSTool', () => {
expect(result.llmContent).toContain('file1.txt');
expect(result.llmContent).not.toContain('file2.log');
// .git is always ignored by default.
expect(result.returnDisplay).toBe('Listed 2 item(s). (2 git-ignored)');
expect(result.returnDisplay).toBe('Listed 2 item(s). (2 ignored)');
});
it('should respect geminiignore patterns', async () => {
@@ -161,7 +161,7 @@ describe('LSTool', () => {
expect(result.llmContent).toContain('file1.txt');
expect(result.llmContent).not.toContain('file2.log');
expect(result.returnDisplay).toBe('Listed 2 item(s). (1 gemini-ignored)');
expect(result.returnDisplay).toBe('Listed 2 item(s). (1 ignored)');
});
it('should handle non-directory paths', async () => {