mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-23 03:24:42 -07:00
Add support for an additional exclusion file besides .gitignore and .geminiignore (#16487)
Co-authored-by: Adam Weidman <adamfweidman@google.com>
This commit is contained in:
@@ -84,7 +84,11 @@ describe('doesToolInvocationMatch', () => {
|
||||
});
|
||||
|
||||
describe('for non-shell tools', () => {
|
||||
const readFileTool = new ReadFileTool({} as Config, createMockMessageBus());
|
||||
const mockConfig = {
|
||||
getTargetDir: () => '/tmp',
|
||||
getFileFilteringOptions: () => ({}),
|
||||
} as unknown as Config;
|
||||
const readFileTool = new ReadFileTool(mockConfig, createMockMessageBus());
|
||||
const invocation = {
|
||||
params: { file: 'test.txt' },
|
||||
} as AnyToolInvocation;
|
||||
|
||||
Reference in New Issue
Block a user