Skip to content

Class: MockTask ​

Mock of the X-Ray engine task state enumeration.

Implements ​

  • task

Constructors ​

Constructor ​

ts
new MockTask(): MockTask;

Returns ​

MockTask

Methods ​

create() ​

ts
static create(): MockTask;

Returns ​

MockTask


mock() ​

ts
static mock(): task;

Returns ​

task

Properties ​

additional ​

ts
readonly static additional: number = 1;

Engine enum value for task.additional.


completed ​

ts
readonly static completed: number = 2;

Engine enum value for task.completed.


fail ​

ts
readonly static fail: number = 0;

Engine enum value for task.fail.


in_progress ​

ts
readonly static in_progress: number = 1;

Engine enum value for task.in_progress.


storyline ​

ts
readonly static storyline: number = 0;

Engine enum value for task.storyline.


task_dummy ​

ts
readonly static task_dummy: number = 65_535;

Engine enum value for task.task_dummy.