@aerocorp/cli
Version:
AeroCorp CLI 5.1.0 - Future-Proofed Enterprise Infrastructure with Live Preview, Tunneling & Advanced DevOps
22 lines (18 loc) • 421 B
text/typescript
// Test setup file
import { jest } from '@jest/globals';
// Mock console methods to reduce noise in tests
global.console = {
...console,
log: jest.fn(),
warn: jest.fn(),
error: jest.fn(),
info: jest.fn(),
debug: jest.fn(),
};
// Set test environment variables
process.env.NODE_ENV = 'test';
process.env.AEROCORP_TEST_MODE = 'true';
// Clean up after each test
afterEach(() => {
jest.clearAllMocks();
});