Skip to main content
Glama
config.test.ts729 B
import { type TeamCityFullConfig, toApiClientConfig } from '@/teamcity/config'; describe('teamcity config helpers', () => { const fullConfig: TeamCityFullConfig = { connection: { baseUrl: 'https://teamcity.example.com', token: 'token-123', timeout: 5000, maxConcurrentRequests: 5, keepAlive: true, compression: true, }, retry: { enabled: true, maxRetries: 4, baseDelay: 250, maxDelay: 5000, retryableStatuses: [500], }, }; it('converts to TeamCityAPI client config', () => { expect(toApiClientConfig(fullConfig)).toEqual({ baseUrl: 'https://teamcity.example.com', token: 'token-123', timeout: 5000, }); }); });

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/Daghis/teamcity-mcp'

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