Namespace: testing
Classes
Interfaces
Type aliases
TestServerSpawner
Ƭ TestServerSpawner: (port
: number
) => ChildProcess
Type declaration
▸ (port
): ChildProcess
A generic callback that returns a child process
Parameters
Name | Type |
---|---|
port | number |
Returns
ChildProcess
WorkflowStartOptions
Ƭ WorkflowStartOptions<T
>: BaseWorkflowStartOptions
<T
> & { runInNormalTime?
: boolean
}
Options passed to WorkflowClient.execute, these are the same as the {@link BaseWorkflowStartOptions} with an additional option that controls whether to toggle time skipping in the Test server while waiting on a Workflow's result.
Type parameters
Name | Type |
---|---|
T | extends Workflow |
Variables
DEFAULT_TEST_SERVER_PATH
• Const
DEFAULT_TEST_SERVER_PATH: string
defaultActivityInfo
• Const
defaultActivityInfo: activity.Info
Used as the default activity info for Activities executed in the MockActivityEnvironment
workflowInterceptorModules
• Const
workflowInterceptorModules: string
[]
Convenience workflow interceptors
Contains a single interceptor for transforming AssertionError
s into non
retryable ApplicationFailure
s.