Skip to main content
Glama
tududi-client.test.ts986 B
import { TududuClient } from '../tududi-client.js'; describe('TududuClient', () => { let client: TududuClient; beforeAll(() => { // Set up environment variables for tests process.env.LOG_LEVEL = 'silent'; }); beforeEach(() => { client = new TududuClient('http://localhost:3000', 'test-api-key'); }); it('should create a client instance', () => { expect(client).toBeInstanceOf(TududuClient); }); it('should have required methods', () => { expect(typeof client.listTasks).toBe('function'); expect(typeof client.createTask).toBe('function'); expect(typeof client.updateTask).toBe('function'); expect(typeof client.deleteTask).toBe('function'); expect(typeof client.completeTask).toBe('function'); expect(typeof client.listProjects).toBe('function'); expect(typeof client.createProject).toBe('function'); expect(typeof client.listAreas).toBe('function'); expect(typeof client.searchTasks).toBe('function'); }); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jerrytunin/tududi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server