Job Components: `Test Helpers Test Context`
test-helpers.TestContext
Implements
Table of contents
Constructors
Properties
Constructors
constructor
• new TestContext(testName
, options?
): TestContext
Parameters
Name | Type |
---|---|
testName | string |
options | TestContextOptions |
Returns
Defined in
packages/job-components/src/test-helpers.ts:195
Properties
apis
• apis: ContextAPIs
| WorkerContextAPIs
| TestContextAPIs
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:187
arch
• arch: string
= process.arch
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:192
assignment
• assignment: Assignment
= 'worker'
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:190
cluster
• cluster: ContextClusterConfig
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:186
foundation
• foundation: LegacyFoundationApis
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:188
logger
• logger: Logger
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:184
mockPromMetrics
• mockPromMetrics: null
| MockPromMetrics
Defined in
packages/job-components/src/test-helpers.ts:193
name
• name: string
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:189
platform
• platform: string
= process.platform
Implementation of
Defined in
packages/job-components/src/test-helpers.ts:191
sysconfig
• sysconfig: SysConfig