code: function mockModule(moduleName) {
      scope();
      if(typeof moduleName === 'function'){
        return onMockCreate(new ModuleMock(getAsyncMock(moduleName, parentModule)));
      } else {
        const name = convertName(moduleName, parentModule);
        resetMock(name);
        return onMockCreate(new ModuleMock(getMock(name)));
      }
  }
docs: main * 
  @name rewiremock
  @param {String|Function} module name
  @return {ModuleMock}