Skip to main content

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

Class: TestContext

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

Implements

Constructors

Constructor

new TestContext(testName, options): TestContext

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

Parameters

ParameterType
testNamestring
optionsTestContextOptions

Returns

TestContext

Properties

PropertyTypeDefault valueDefined in
apisTestContextApis & ContextAPIsundefinedpackages/job-components/src/test-helpers.ts:123
archstringprocess.archpackages/job-components/src/test-helpers.ts:127
assignmentAssignment'worker'packages/job-components/src/test-helpers.ts:125
clusterClusterundefinedpackages/job-components/src/test-helpers.ts:122
loggerLoggerundefinedpackages/job-components/src/test-helpers.ts:120
mockPromMetricsnull | MockPromMetricsundefinedpackages/job-components/src/test-helpers.ts:128
namestringundefinedpackages/job-components/src/test-helpers.ts:124
platformstringprocess.platformpackages/job-components/src/test-helpers.ts:126
sysconfigSysConfigundefinedpackages/job-components/src/test-helpers.ts:121