@@ -55,7 +55,7 @@ describe('daemon client', () => {
5555 describe ( 'parsing' , ( ) => {
5656 it ( 'handles MCP response with text format' , async ( ) => {
5757 const textResponse = { content : [ { type : 'text' as const , text : 'test' } ] } ;
58- assert . strictEqual ( handleResponse ( textResponse , 'text ' ) , 'test' ) ;
58+ assert . strictEqual ( handleResponse ( textResponse , 'md ' ) , 'test' ) ;
5959 } ) ;
6060
6161 it ( 'handles JSON response' , async ( ) => {
@@ -78,7 +78,7 @@ describe('daemon client', () => {
7878 content : [ { type : 'text' as const , text : 'Something went wrong' } ] ,
7979 } ;
8080 assert . strictEqual (
81- handleResponse ( errorResponse , 'text ' ) ,
81+ handleResponse ( errorResponse , 'md ' ) ,
8282 JSON . stringify ( errorResponse . content ) ,
8383 ) ;
8484 } ) ;
@@ -108,7 +108,7 @@ describe('daemon client', () => {
108108 structuredContent : { } ,
109109 } ;
110110 assert . throws (
111- ( ) => handleResponse ( unsupportedContentResponse , 'text ' ) ,
111+ ( ) => handleResponse ( unsupportedContentResponse , 'md ' ) ,
112112 new Error ( 'Not supported response content type' ) ,
113113 ) ;
114114 } ) ;
0 commit comments