MCP: имя сервера accounting_automation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -241,7 +241,7 @@ d("MCP бухгалтерии (временная БД)", () => {
|
||||
it("initialize, notifications/initialized, ping, tools/list", async () => {
|
||||
const i = await post(bearer(TOKEN_A), rpc("initialize", { protocolVersion: "2025-03-26" }));
|
||||
expect(i.statusCode).toBe(200);
|
||||
expect(i.json().result.serverInfo.name).toBe("khb-accounting");
|
||||
expect(i.json().result.serverInfo.name).toBe("accounting_automation");
|
||||
expect((await post(bearer(TOKEN_A), { jsonrpc: "2.0", method: "notifications/initialized" })).statusCode).toBe(202);
|
||||
expect(((await post(bearer(TOKEN_A), rpc("ping"))).json()).result).toEqual({});
|
||||
const l = (await post(bearer(TOKEN_A), rpc("tools/list"))).json();
|
||||
|
||||
Reference in New Issue
Block a user