Skip to content

Commit dc1bbfb

Browse files
fix: update tool count to 13 in handlers test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7a14305 commit dc1bbfb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/unit/tools/handlers.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ vi.mock('../../../src/logger.js', () => ({
1717
}))
1818

1919
describe('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 () => {

0 commit comments

Comments
 (0)