Skip to main content

@terascope/job-components / test-helpers / TestContext

Class: TestContext

Defined in: job-components/src/test-helpers.ts:119

Implements

Constructors

Constructor

new TestContext(testName, options): TestContext

Defined in: job-components/src/test-helpers.ts:130

Parameters

ParameterType
testNamestring
optionsTestContextOptions

Returns

TestContext

Properties

PropertyTypeDefault valueDefined in
apisTestContextApis & ContextAPIsundefinedjob-components/src/test-helpers.ts:123
archstringprocess.archjob-components/src/test-helpers.ts:127
assignmentAssignment'worker'job-components/src/test-helpers.ts:125
clusterClusterundefinedjob-components/src/test-helpers.ts:122
loggerLoggerundefinedjob-components/src/test-helpers.ts:120
mockPromMetricsMockPromMetrics | nullundefinedjob-components/src/test-helpers.ts:128
namestringundefinedjob-components/src/test-helpers.ts:124
platformstringprocess.platformjob-components/src/test-helpers.ts:126
sysconfigSysConfigundefinedjob-components/src/test-helpers.ts:121