Typings — Test
TypeScript interfaces exported from @litert/utils-test.
Import
ts
import type { IAutoTickMsOptions } from '@litert/utils-test';Interface IAutoTickMsOptions
Source: AutoTickMs.ts
Options that control the ticking behavior of the autoTickMs function.
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
tickMs | number | No | 1 | Milliseconds to advance the mock clock per event loop tick. Increase this value to reduce iterations for tests covering very long timer durations. For example, set tickMs to 3_600_000 for 1-hour increments when testing a 24-hour timer, reducing iterations from 86,400,000 to just 24. |