Skip to main content
Glama
bullmq.ts537 B
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 const bullmq = jest.createMockFromModule('bullmq') as any; export class Queue extends bullmq.Queue { add = jest.fn().mockImplementation(async (jobName: string, jobData: any, options: any) => { return { id: '123', name: jobName, data: jobData, opts: options, }; }); } export const Worker = bullmq.Worker; export const DelayedError = bullmq.DelayedError; export const Job = bullmq.Job;

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