Skip to main content
Glama
outdatedDocs.test.ts728 B
import { describe, expect, it } from 'vitest'; import { runOutdatedDocsTest } from './outdatedDocs'; /** * Set FAIL_ON_OUTDATED_DOCS=true to make the test fail when outdated docs are detected. * Otherwise, it will only log the outdated pairs. */ const shouldFail = String(process.env.FAIL_ON_OUTDATED_DOCS).toLowerCase() === 'true'; describe('Outdated Docs', () => { it.skip('should detect and report translations that are not up to date', () => { const result = runOutdatedDocsTest(shouldFail); if (shouldFail) { expect(result.details.length).toBe(0); } else { // Only log; do not fail console.log(`Outdated pairs found: ${result.details.length}`); } }, 60000); // 60s timeout });

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/aymericzip/intlayer'

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