Job Components: `test-helpers`
Table of contents
Classes
Interfaces
Functions
Functions
newTestExecutionConfig
▸ newTestExecutionConfig(jobConfig?
): ExecutionConfig
Parameters
Name | Type |
---|---|
jobConfig | Partial <Partial <ValidatedJobConfig >> |
Returns
Defined in
packages/job-components/src/test-helpers.ts:47
newTestExecutionContext
▸ newTestExecutionContext(type
, config
): LegacyExecutionContext
Create a new Execution Context
Parameters
Name | Type |
---|---|
type | Assignment |
config | ExecutionConfig |
Returns
Deprecated
use the new WorkerExecutionContext and SlicerExecutionContext
Defined in
packages/job-components/src/test-helpers.ts:61
newTestJobConfig
▸ newTestJobConfig(defaults?
): ValidatedJobConfig
Parameters
Name | Type |
---|---|
defaults | Partial <Partial <ValidatedJobConfig >> |
Returns
Defined in
packages/job-components/src/test-helpers.ts:24
newTestSlice
▸ newTestSlice(request?
): Slice
Parameters
Name | Type |
---|---|
request | SliceRequest |