From a33c26e298767f98894eb75c9864e9d57f5ae582 Mon Sep 17 00:00:00 2001 From: sahalterion Date: Fri, 3 Apr 2026 15:50:06 -0700 Subject: [PATCH] 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) --- gitnexus/test/unit/tools.test.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gitnexus/test/unit/tools.test.ts b/gitnexus/test/unit/tools.test.ts index 231f55e3c..a17dc4dc8 100644 --- a/gitnexus/test/unit/tools.test.ts +++ b/gitnexus/test/unit/tools.test.ts @@ -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', () => {