Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Clock

Hierarchy

  • Clock

Index

Methods

install

  • install(): void
  • Returns void

mockDate

  • mockDate(date?: Date): void
  • Parameters

    • Optional date: Date

    Returns void

tick

  • tick(ms: number): void
  • Calls to any registered callback are triggered when the clock isticked forward via the jasmine.clock().tick function, which takes a number of milliseconds.

    Parameters

    • ms: number

    Returns void

uninstall

  • uninstall(): void
  • Returns void