Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SinonMockStatic

Callable

  • Returns SinonExpectation

  • Creates a mock for the provided object. Does not change the object, but returns a mock object to set expectations on the object’s methods.

    Parameters

    • obj: any

    Returns SinonMock