zeed
    Preparing search index...

    Function setTimestampTest

    • Set a fixed timestamp (ms since epoch) used by getTimestamp for tests.

      Pass a millisecond timestamp (for example created with Date.UTC) to force time-based helpers to return deterministic values during tests.

      Parameters

      • ts: number = ...

        timestamp in milliseconds (defaults to 2000-01-01T00:00:00.000Z)

      Returns void