Blog

To mock with JEST, we use a module factory as a parameter. The module factory must be a function that returns: