Remove MCP test that recorded real feedback in production (#4399)

This commit is contained in:
Nolann B.
2026-07-15 10:42:20 +02:00
committed by GitHub
parent 88b1919a45
commit bcd4d4e980
-29
View File
@@ -55,35 +55,6 @@ it(
{ timeout: 10_000 }
);
it(
'should record agent feedback through MCP',
async () => {
const client = new Client({
name: 'test',
version: '1.0.0',
});
await client.connect(
new StreamableHTTPClientTransport(
new URL(getContentTestURL('https://gitbook.com/docs/~gitbook/mcp/auth'))
)
);
const response = await client.callTool({
name: 'sendFeedback',
arguments: {
category: 'content-gap',
content: 'The authentication section does not explain how to rotate API tokens.',
},
});
expect(response.isError).toBeFalsy();
// @ts-expect-error - response.content is of type unknown
expect(response.content[0]?.text).toContain('Feedback recorded');
},
{ timeout: 10_000 }
);
it(
'should get a page from another site space through MCP',
async () => {