In this article we will see how to mock a module using jest. But first we will understand how to mock a module by overriding require cache which is what jest does.
You might want to setup a ci for your monorepo. In this article we will see how to use Circleci inside a mono-repository. This post assume that you already have knowledge about monorepo and continuous integration process with Circleci.