When we talk about mocking in Jest, we’re typically talking about
replacing dependencies with the Mock Function.
review the Mock Function, and then dive into the different ways you can replace dependencies with it. The Mock Function The goal for mocking is to replace something we don’t control with something we do,