mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-17 01:21:10 -07:00
Refactor atCommandProcessor (#18461)
This commit is contained in:
committed by
GitHub
parent
7a8d6f6095
commit
e844d4f45f
@@ -179,9 +179,6 @@ describe('handleAtCommand', () => {
|
||||
expect(result).toEqual({
|
||||
processedQuery: [{ text: queryWithSpaces }],
|
||||
});
|
||||
expect(mockOnDebugMessage).toHaveBeenCalledWith(
|
||||
'Lone @ detected, will be treated as text in the modified query.',
|
||||
);
|
||||
});
|
||||
|
||||
it('should process a valid text file path', async () => {
|
||||
@@ -441,9 +438,6 @@ describe('handleAtCommand', () => {
|
||||
expect(mockOnDebugMessage).toHaveBeenCalledWith(
|
||||
`Glob search for '**/*${invalidFile}*' found no files or an error. Path ${invalidFile} will be skipped.`,
|
||||
);
|
||||
expect(mockOnDebugMessage).toHaveBeenCalledWith(
|
||||
'Lone @ detected, will be treated as text in the modified query.',
|
||||
);
|
||||
});
|
||||
|
||||
it('should return original query if all @paths are invalid or lone @', async () => {
|
||||
|
||||
Reference in New Issue
Block a user