local-agent
Version:
A CLI agentic system for orchestrating tools and memory with per-folder scoping
20 lines • 505 B
JavaScript
;
// Mock console methods to avoid noise in tests
global.console = {
...console,
log: jest.fn(),
error: jest.fn(),
warn: jest.fn(),
info: jest.fn(),
};
// Mock process.exit to prevent tests from actually exiting
const mockExit = jest.fn();
process.exit = mockExit;
// Reset mocks before each test
beforeEach(() => {
jest.clearAllMocks();
mockExit.mockClear();
});
// Set up test environment variables
process.env.NODE_ENV = 'test';
//# sourceMappingURL=setup.js.map