MCPcopy
hub / github.com/google-gemini/gemini-cli / MockClient

Class MockClient

integration-tests/acp-env-auth.test.ts:19–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17const itMaybe = sandboxEnv && sandboxEnv !== 'false' ? it.skip : it;
18
19class MockClient implements acp.Client {
20 updates: acp.SessionNotification[] = [];
21 sessionUpdate = async (params: acp.SessionNotification) => {
22 this.updates.push(params);
23 };
24 requestPermission = async (): Promise<acp.RequestPermissionResponse> => {
25 throw new Error('unexpected');
26 };
27}
28
29describe.skip('ACP Environment and Auth', () => {
30 let rig: TestRig;

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected