@@ -400,9 +400,9 @@ describe("App <-> AppBridge integration", () => {
400400 sendRequest : async ( ) => ( { } ) ,
401401 } as any ;
402402
403- await expect (
404- ( tool . callback as any ) ( mockExtra ) ,
405- ) . rejects . toThrow ( "Tool test-tool is disabled" ) ;
403+ await expect ( ( tool . callback as any ) ( mockExtra ) ) . rejects . toThrow (
404+ "Tool test- tool is disabled" ,
405+ ) ;
406406 } ) ;
407407
408408 it ( "tool validates input schema" , async ( ) => {
@@ -460,9 +460,7 @@ describe("App <-> AppBridge integration", () => {
460460 } as any ;
461461
462462 // Valid output should work
463- await expect (
464- ( tool . callback as any ) ( mockExtra ) ,
465- ) . resolves . toBeDefined ( ) ;
463+ await expect ( ( tool . callback as any ) ( mockExtra ) ) . resolves . toBeDefined ( ) ;
466464 } ) ;
467465
468466 it ( "tool enable/disable/update/remove trigger sendToolListChanged" , async ( ) => {
@@ -616,9 +614,7 @@ describe("App <-> AppBridge integration", () => {
616614 arguments : { name : "Alice" } ,
617615 } ) ;
618616
619- expect ( result . content ) . toEqual ( [
620- { type : "text" , text : "Hello, Alice!" } ,
621- ] ) ;
617+ expect ( result . content ) . toEqual ( [ { type : "text" , text : "Hello, Alice!" } ] ) ;
622618 } ) ;
623619 } ) ;
624620} ) ;
0 commit comments