# jest

Sometimes we need to mock some global objects in our unit tests, and this article explains different ways to do it in jest.


Recently I tried to migrate one my React app to Parcel.js and had challenge to set up jest test runner.


This article explains the correct way how to mock axios in jest with typescript