test(group): update tools test for new group_graph and group_discover

Add group_graph and group_discover to GROUP_TOOLS set and update
expected tool count from 16 to 18.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
sahalterion 2026-04-03 15:50:06 -07:00
parent a5310dcc12
commit a33c26e298

View file

@ -10,11 +10,19 @@
import { describe, it, expect } from 'vitest';
import { GITNEXUS_TOOLS } from '../../src/mcp/tools.js';
const GROUP_TOOLS = new Set(['group_list', 'group_sync']);
const GROUP_TOOLS = new Set([
'group_list',
'group_sync',
'group_contracts',
'group_query',
'group_status',
'group_graph',
'group_discover',
]);
describe('GITNEXUS_TOOLS', () => {
it('exports all tools (7 base + 3 route/tool/shape + 1 api_impact + 2 group)', () => {
expect(GITNEXUS_TOOLS).toHaveLength(13);
it('exports all tools (7 base + 3 route/tool/shape + 1 api_impact + 7 group)', () => {
expect(GITNEXUS_TOOLS).toHaveLength(18);
});
it('contains all expected tool names', () => {