File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ vi.mock('../../../src/logger.js', () => ({
1717} ) )
1818
1919describe ( 'toolDefinitions' , ( ) => {
20- it ( 'has 12 tools with correct names' , async ( ) => {
20+ it ( 'has 13 tools with correct names' , async ( ) => {
2121 const { toolDefinitions } = await import ( '../../../src/server.js' )
22- expect ( toolDefinitions ) . toHaveLength ( 12 )
22+ expect ( toolDefinitions ) . toHaveLength ( 13 )
2323 const names = toolDefinitions . map ( ( t ) => t . name )
2424 expect ( names ) . toContain ( 'comet_connect' )
2525 expect ( names ) . toContain ( 'comet_ask' )
@@ -33,6 +33,7 @@ describe('toolDefinitions', () => {
3333 expect ( names ) . toContain ( 'comet_list_conversations' )
3434 expect ( names ) . toContain ( 'comet_open_conversation' )
3535 expect ( names ) . toContain ( 'comet_get_page_content' )
36+ expect ( names ) . toContain ( 'comet_wait' )
3637 } )
3738
3839 it ( 'each tool has required fields' , async ( ) => {
You can’t perform that action at this time.
0 commit comments