Node TAP
    Preparing search index...

    Class ClockPlugin

    plugin implementation providing the .clock getter

    Index

    Constructors

    Accessors

    Constructors

    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