Fix CI snapshot and docs checks

This commit is contained in:
Andrey Avtomonov 2026-05-16 11:24:31 +02:00
parent f99ca7fa30
commit 1ead1c9cc4
3 changed files with 1052 additions and 1048 deletions

File diff suppressed because it is too large Load diff

View file

@ -201,7 +201,9 @@ describe('createKtxMcpServer', () => {
const toolNames = result.tools.map((tool) => tool.name).sort();
expect(toolNames).toEqual([...retainedToolNames].sort());
await expect(result.tools).toMatchFileSnapshot('__snapshots__/mcp-tools-list.json');
await expect(`${JSON.stringify(result.tools, null, 2)}\n`).toMatchFileSnapshot(
'__snapshots__/mcp-tools-list.json',
);
});
it('registers context tools without memory capture tools when memory capture is omitted', async () => {