Skip to main content
Glama

MCP Server NestJS

by Cstannahill
auth.controller.spec.ts672 B
import { Test, TestingModule } from '@nestjs/testing'; import { AuthController } from './auth.controller'; import { AuthService } from './auth.service'; describe('AuthController', () => { let controller: AuthController; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ controllers: [AuthController], providers: [ { provide: AuthService, useValue: {}, // Provide a mock implementation if needed }, ], }).compile(); controller = module.get<AuthController>(AuthController); }); it('should be defined', () => { expect(controller).toBeDefined(); }); });

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/Cstannahill/mcp-server-nestjs'

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