feat: Show initialize request/response in History panel (#269)
- Add logging for initialize request and response in useConnection.connect - Include server capabilities, version, and instructions in history
This commit is contained in:
parent
0b37722ad1
commit
22eb81350a
1 changed files with 13 additions and 2 deletions
|
|
@ -17,6 +17,8 @@ const mockClient = {
|
|||
connect: jest.fn().mockResolvedValue(undefined),
|
||||
close: jest.fn(),
|
||||
getServerCapabilities: jest.fn(),
|
||||
getServerVersion: jest.fn(),
|
||||
getInstructions: jest.fn(),
|
||||
setNotificationHandler: jest.fn(),
|
||||
setRequestHandler: jest.fn(),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue