Skip to content

Latest commit

 

History

History
53 lines (29 loc) · 1.4 KB

File metadata and controls

53 lines (29 loc) · 1.4 KB

Home > @aws/durable-execution-sdk-js-testing > LocalDurableTestRunnerSetupParameters

LocalDurableTestRunnerSetupParameters interface

Configuration parameters for setting up the LocalDurableTestRunner test environment.

Signature:

export interface LocalDurableTestRunnerSetupParameters

Properties

Property

Modifiers

Type

Description

skipTime?

boolean

(Optional) Whether to enable time skipping using fake timers during test execution.

When set to true, the test runner will install fake timers that allow tests to skip over time-based operations like setTimeout, setInterval, context.wait, and context.step retries without actually waiting for the specified duration. This significantly speeds up test execution for workflows that involve delays or timeouts.

When set to false or undefined, real timers will be used and any time-based operations will execute with their actual delays.