mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-18 10:01:29 -07:00
fix(core,cli): enable recursive directory access for (#17094)
This commit is contained in:
@@ -480,6 +480,7 @@ describe('editor utils', () => {
|
||||
});
|
||||
|
||||
it(`should allow ${editor} when not in sandbox mode`, () => {
|
||||
vi.stubEnv('SANDBOX', '');
|
||||
expect(allowEditorTypeInSandbox(editor)).toBe(true);
|
||||
});
|
||||
}
|
||||
@@ -500,6 +501,7 @@ describe('editor utils', () => {
|
||||
|
||||
it('should return true for vscode when installed and not in sandbox mode', () => {
|
||||
(execSync as Mock).mockReturnValue(Buffer.from('/usr/bin/code'));
|
||||
vi.stubEnv('SANDBOX', '');
|
||||
expect(isEditorAvailable('vscode')).toBe(true);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user