5 lines
90 B
TypeScript
5 lines
90 B
TypeScript
jest.mock('process', () => ({
|
|
...jest.requireActual('process'),
|
|
exit: jest.fn(),
|
|
}));
|