• (renamed to createMockFromModule in Jest 26.0.0+) Use the automatic mocking system to generate a mocked version of the given module.

    Type Parameters

    • T

    Parameters

    • moduleName: string

    Returns T