Skip to main content
Glama
globalSetup.ts644 B
/** * Global test setup and teardown */ import { cleanupTestEnvironment, setupTestEnvironment, } from "./utils/testCleanup.js"; export async function setup(): Promise<void> { console.log("🧹 Setting up test environment..."); setupTestEnvironment(); // Ensure tmp directory exists const { promises: fs } = await import("fs"); try { await fs.mkdir("./tmp", { recursive: true }); } catch { // Directory might already exist } } export async function teardown(): Promise<void> { console.log("🧹 Cleaning up test environment..."); await cleanupTestEnvironment(); console.log("✅ Test cleanup completed"); }

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/keyurgolani/ThoughtMcp'

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