Skip to main content

mocked

Callable

  • mocked<Arguments, ReturnValue>(function_: (...arguments_: Arguments) => ReturnValue): Mock<ReturnValue, Arguments>

  • Type parameters

    • Arguments: any[]
    • ReturnValue: unknown

    Parameters

    • function_: (...arguments_: Arguments) => ReturnValue

      Returns Mock<ReturnValue, Arguments>