File tree Expand file tree Collapse file tree
test/integration/test/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -810,10 +810,7 @@ describe('Zod v4', () => {
810810 * Test: listChanged capability should respect explicit false setting
811811 */
812812 test ( 'should respect tools.listChanged: false when explicitly set' , async ( ) => {
813- const mcpServer = new McpServer (
814- { name : 'test server' , version : '1.0' } ,
815- { capabilities : { tools : { listChanged : false } } }
816- ) ;
813+ const mcpServer = new McpServer ( { name : 'test server' , version : '1.0' } , { capabilities : { tools : { listChanged : false } } } ) ;
817814 const client = new Client ( {
818815 name : 'test client' ,
819816 version : '1.0'
@@ -858,10 +855,7 @@ describe('Zod v4', () => {
858855 * Test: prompts.listChanged should respect explicit false setting
859856 */
860857 test ( 'should respect prompts.listChanged: false when explicitly set' , async ( ) => {
861- const mcpServer = new McpServer (
862- { name : 'test server' , version : '1.0' } ,
863- { capabilities : { prompts : { listChanged : false } } }
864- ) ;
858+ const mcpServer = new McpServer ( { name : 'test server' , version : '1.0' } , { capabilities : { prompts : { listChanged : false } } } ) ;
865859 const client = new Client ( {
866860 name : 'test client' ,
867861 version : '1.0'
You can’t perform that action at this time.
0 commit comments