jest.mock('process', () => ({ ...jest.requireActual('process'), exit: jest.fn(), }));