Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Assertions

Hierarchy

  • Assertions

Index

Methods

alwaysThrew

  • alwaysThrew(value?: any): Result
  • Parameters

    • Optional value: any

    Returns Result

givenCallOrder

  • givenCallOrder(): Result

notToHaveCallsExhaustivelySatisfying

  • notToHaveCallsExhaustivelySatisfying(value: any[] | object): Result
  • Parameters

    • value: any[] | object

    Returns Result

notToHaveCallsSatisfying

  • notToHaveCallsSatisfying(value: any[] | Constructable | object): Result
  • Parameters

    • value: any[] | Constructable | object

    Returns Result

threw

  • threw(value?: any): Result
  • Parameters

    • Optional value: any

    Returns Result

toHaveACallExhaustivelySatisfying

  • toHaveACallExhaustivelySatisfying(value: any[] | object): Result
  • Parameters

    • value: any[] | object

    Returns Result

toHaveACallSatisfying

  • toHaveACallSatisfying(value: any[] | Constructable | object): Result
  • Parameters

    • value: any[] | Constructable | object

    Returns Result

toHaveAllCallsExhaustivelySatisfying

  • toHaveAllCallsExhaustivelySatisfying(value: any[] | object): Result
  • Parameters

    • value: any[] | object

    Returns Result

toHaveAllCallsSatisfying

  • toHaveAllCallsSatisfying(value: any[] | Constructable | object): Result
  • Parameters

    • value: any[] | Constructable | object

    Returns Result

toHaveCallsExhaustivelySatisfying

  • toHaveCallsExhaustivelySatisfying(value: any[] | object | Constructable): Result
  • Parameters

    • value: any[] | object | Constructable

    Returns Result

toHaveCallsSatisfying

  • toHaveCallsSatisfying(value: any[] | object | Constructable): Result
  • Parameters

    • value: any[] | object | Constructable

    Returns Result

toHaveNoCallsExhaustivelySatisfying

  • toHaveNoCallsExhaustivelySatisfying(value: any[] | object): Result
  • Parameters

    • value: any[] | object

    Returns Result

toHaveNoCallsSatisfying

  • toHaveNoCallsSatisfying(value: any[] | Constructable | object): Result
  • Parameters

    • value: any[] | Constructable | object

    Returns Result

wasAlwaysCalledOn

  • wasAlwaysCalledOn(value: any): Result

wasAlwaysCalledWith

  • wasAlwaysCalledWith(): Result

wasAlwaysCalledWithExactly

  • wasAlwaysCalledWithExactly(): Result

wasCalled

  • wasCalled(): Result

wasCalledOn

  • wasCalledOn(value: any): Result

wasCalledOnce

  • wasCalledOnce(): Result

wasCalledThrice

  • wasCalledThrice(): Result

wasCalledTimes

  • wasCalledTimes(value: number): Result
  • Parameters

    • value: number

    Returns Result

wasCalledTwice

  • wasCalledTwice(): Result

wasCalledWith

  • wasCalledWith(): Result

wasCalledWithExactly

  • wasCalledWithExactly(): Result

wasCalledWithNew

  • wasCalledWithNew(): Result

wasNeverCalledWith

  • wasNeverCalledWith(): Result

wasNotCalled

  • wasNotCalled(): Result

Generated using TypeDoc