How to mock the axios library in jest without mock adapter or library

We are going to mock the axios library by using the jest.mock function and providing a sample mock factory implementation.