Interface: TestEnvClientOptions
testing.TestEnvClientOptions
Hierarchy
-
↳
TestEnvClientOptions
Properties
connection
• connection: Connection
Connection to use to communicate with the server.
By default, connects to localhost.
Connections are expensive to construct and should be reused.
Overrides
dataConverter
• Optional
dataConverter: DataConverter
DataConverter to use for serializing and deserializing payloads
Inherited from
enableTimeSkipping
• enableTimeSkipping: boolean
identity
• Optional
identity: string
Identity to report to the server
Default
${process.pid}@${os.hostname()}
Inherited from
interceptors
• Optional
interceptors: ClientInterceptors
Used to override and extend default Connection functionality
Useful for injecting auth headers and tracing Workflow executions
Inherited from
namespace
• Optional
namespace: string
Server namespace
Default
default
Inherited from
workflow
• Optional
workflow: Object
Type declaration
Name | Type | Description |
---|---|---|
queryRejectCondition? | QueryRejectCondition | Should a query be rejected by closed and failed workflows Default undefined , which means that closed and failed workflows are still queryable |