plugin implementation providing the .clock getter

Constructors

Properties

Accessors

Constructors

Properties

#clock?: Clock
#didTeardown: boolean = false

Accessors

  • get clock(): Clock
  • The mock clock implementation, available at t.clock when this plugin has been loaded.

    If the clock is entered, it will be automatically exited on test teardown, if the @tapjs/after plugin is loaded.

    Returns Clock

Generated using TypeDoc