@@ -315,7 +315,7 @@ describe("tools utils", () => {
315315
316316 describe ( "formatCodebasePeek" , ( ) => {
317317 it ( "should return empty message for no results" , ( ) => {
318- const result = formatCodebasePeek ( [ ] , "test query" ) ;
318+ const result = formatCodebasePeek ( [ ] ) ;
319319
320320 expect ( result ) . toContain ( "No matching code found" ) ;
321321 } ) ;
@@ -330,7 +330,7 @@ describe("tools utils", () => {
330330 chunkType : "function" ,
331331 name : "initialize" ,
332332 } ] ;
333- const result = formatCodebasePeek ( results , "init function" ) ;
333+ const result = formatCodebasePeek ( results ) ;
334334
335335 expect ( result ) . toContain ( '"initialize"' ) ;
336336 expect ( result ) . toContain ( "src/index.ts:10-20" ) ;
@@ -347,7 +347,7 @@ describe("tools utils", () => {
347347 score : 0.70 ,
348348 chunkType : "other" ,
349349 } ] ;
350- const result = formatCodebasePeek ( results , "utils" ) ;
350+ const result = formatCodebasePeek ( results ) ;
351351
352352 expect ( result ) . toContain ( "(anonymous)" ) ;
353353 } ) ;
@@ -362,7 +362,7 @@ describe("tools utils", () => {
362362 chunkType : "function" ,
363363 name : "foo" ,
364364 } ] ;
365- const result = formatCodebasePeek ( results , "my search query" ) ;
365+ const result = formatCodebasePeek ( results ) ;
366366
367367 expect ( result ) . toContain ( '"foo"' ) ;
368368 expect ( result ) . toContain ( "a.ts:1-2" ) ;
0 commit comments