3👍
✅
jest.mock('axios', {
get: jest.fn(() => Promise.resolve({ status: 200, data: response })),
});
Source:stackexchange.com
3👍
jest.mock('axios', {
get: jest.fn(() => Promise.resolve({ status: 200, data: response })),
});