Class: MockCEnvironment
Mock of the X-Ray engine CEnvironment class for jest/node.
Implements
CEnvironment
Constructors
Constructor
ts
new MockCEnvironment(): MockCEnvironment;Returns
MockCEnvironment
Methods
create()
ts
static create(): MockCEnvironment;Returns
MockCEnvironment
mock()
ts
static mock(): CEnvironment;Returns
CEnvironment
Properties
__name
ts
readonly __name: string = "CEnvironment";current
ts
current: MockedFunction<() => CEnvDescriptor>;Get the current interpolated environment descriptor.
Returns
Engine-owned current environment descriptor.
Implementation of
ts
CEnvironment.currentdescriptor
ts
descriptor: MockCEnvDescriptor;