mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-03 02:21:44 +00:00
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:
parent
a5310dcc12
commit
a33c26e298
1 changed files with 11 additions and 3 deletions
|
|
@ -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', () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue