Skip to main content
Glama
App.test.tsx689 B
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import { MantineProvider } from '@mantine/core'; import { MockClient } from '@medplum/mock'; import { MedplumProvider } from '@medplum/react'; import { act, render } from '@testing-library/react'; import { MemoryRouter } from 'react-router'; import { App } from './App'; test('App renders', async () => { await act(async () => { render( <MemoryRouter> <MedplumProvider medplum={new MockClient()}> <MantineProvider theme={{}}> <App /> </MantineProvider> </MedplumProvider> </MemoryRouter> ); }); });

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/medplum/medplum'

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