We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/BjornMelin/grammarly-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setup.ts•453 B
// Environment variables are now set in vitest.config.ts `env` option.
// This ensures they're available BEFORE any test modules are loaded,
// which is critical because config.ts reads them at module load time.
// Setting them here in setupFiles would be too late.
import { afterEach, beforeEach, vi } from "vitest";
// Reset mocks between tests for isolation
beforeEach(() => {
vi.clearAllMocks();
});
afterEach(() => {
vi.restoreAllMocks();
});