Enable deep mocking on nested functions in the same file. Currently jest wont mock nested resources contained within the same file as a parent function or object using jest.mock("module", () ={}) api.