mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
fix(a2a-server): replace ApprovalMode.YOLO with wildcard policy check
This commit is contained in:
@@ -4033,7 +4033,6 @@ describe('InputPrompt', () => {
|
||||
unmount();
|
||||
});
|
||||
|
||||
|
||||
it('should not show inverted cursor when shell is focused', async () => {
|
||||
props.isEmbeddedShellFocused = true;
|
||||
props.focus = false;
|
||||
|
||||
@@ -106,12 +106,10 @@ const MockedGeminiClientClass = vi.hoisted(() =>
|
||||
);
|
||||
|
||||
const MockedUserPromptEvent = vi.hoisted(() =>
|
||||
vi
|
||||
.fn()
|
||||
.mockImplementation(() => ({
|
||||
toLogBody: vi.fn(),
|
||||
toOpenTelemetryAttributes: vi.fn(),
|
||||
})),
|
||||
vi.fn().mockImplementation(() => ({
|
||||
toLogBody: vi.fn(),
|
||||
toOpenTelemetryAttributes: vi.fn(),
|
||||
})),
|
||||
);
|
||||
const mockParseAndFormatApiError = vi.hoisted(() => vi.fn());
|
||||
const mockIsBackgroundExecutionData = vi.hoisted(
|
||||
|
||||
Reference in New Issue
Block a user