File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/mcp-server-supabase/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 55} from '@modelcontextprotocol/sdk/types.js' ;
66import { StreamTransport } from '@supabase/mcp-utils' ;
77import { codeBlock , stripIndent } from 'common-tags' ;
8+ import gqlmin from 'gqlmin' ;
89import { setupServer } from 'msw/node' ;
910import { beforeEach , describe , expect , test } from 'vitest' ;
1011import {
@@ -2962,7 +2963,8 @@ describe('docs tools', () => {
29622963 throw new Error ( 'tool description not found' ) ;
29632964 }
29642965
2965- expect ( tool . description . includes ( contentApiMockSchema ) ) . toBe ( true ) ;
2966+ const minifiedSchema = gqlmin ( contentApiMockSchema ) ;
2967+ expect ( tool . description . includes ( minifiedSchema ) ) . toBe ( true ) ;
29662968 } ) ;
29672969
29682970 test ( 'schema is only loaded when listing tools' , async ( ) => {
You can’t perform that action at this time.
0 commit comments