syia-mcp-utils
Version:
Global utility functions for MCP server
15 lines (13 loc) • 300 B
text/typescript
// Test setup file
import { jest } from '@jest/globals';
// Mock environment variables
process.env.NODE_ENV = 'test';
// Mock console methods to avoid noise in tests
global.console = {
...console,
log: jest.fn(),
debug: jest.fn(),
info: jest.fn(),
warn: jest.fn(),
error: jest.fn(),
};