• Returns a mock module instead of the actual module, bypassing all checks on whether the module should be required normally or not.

    Type Parameters

    • TModule extends {} = any

    Parameters

    • moduleName: string

    Returns TModule