Skip to main content
Glama

Convex MCP server

Official
by get-convex
ProvisionProductionDeploymentPage.test.tsx876 B
import { render, cleanup } from "@testing-library/react"; import { PROVISION_PROD_PAGE_NAME } from "@common/lib/deploymentContext"; import { ProvisionProductionDeploymentPage } from "./ProvisionProductionDeploymentPage"; jest.mock("api/profile", () => {}); jest.mock("api/projects", () => ({ useCurrentProject: jest.fn(), })); jest.mock("api/deployments", () => ({ useCurrentDeployment: jest.fn(), })); jest.mock("api/teams", () => ({ useCurrentTeam: jest.fn(), })); jest.mock("next/router", () => ({ useRouter: () => ({ query: { projectSlug: "myProject" }, pathname: `/t/myTeam/myProject/${PROVISION_PROD_PAGE_NAME}`, }), })); describe("ProvisionProductionDeploymentPage", () => { beforeEach(() => { cleanup(); jest.clearAllMocks(); }); it("renders successfully", async () => { render(<ProvisionProductionDeploymentPage />); }); });

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/get-convex/convex-backend'

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