Skip to main content
Glama

Unreal Engine Code Analyzer MCP Server

setup.ts910 B
import { jest, beforeEach } from '@jest/globals'; // Global test setup beforeEach(() => { jest.clearAllMocks(); }); // Mock implementations export const mockTreeSitter = { setLanguage: jest.fn(), parse: jest.fn().mockReturnValue({ rootNode: { hasError: jest.fn().mockReturnValue(false), descendantsOfType: jest.fn().mockReturnValue([]), children: [], startPosition: { row: 0, column: 0 }, text: '' } }), createQuery: jest.fn().mockReturnValue({ matches: jest.fn().mockReturnValue([]) }) }; export const mockCppBindings = { name: 'cpp', nodeTypeInfo: { typeIdentifier: 1, functionDefinition: 2, classSpecifier: 3, } }; export const mockGlob = { sync: jest.fn().mockReturnValue([]) }; export const mockFs = { existsSync: jest.fn().mockReturnValue(true), readFileSync: jest.fn().mockReturnValue(''), writeFileSync: jest.fn() };

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/ayeletstudioindia/unreal-analyzer-mcp'

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