OptionaldurationHow long in milliseconds the task took to run.
OptionalerrorsErrors that occurred during the task execution. It is possible to have several errors
if expect.soft() failed multiple times or retry was triggered.
OptionalheapHeap size in bytes after the task finished.
Only available if logHeapUsage option is set and process.memoryUsage is defined.
OptionalhooksState of related to this task hooks. Useful during reporting.
OptionalrepeatThe amount of times the task was repeated. The task is repeated only if
repeats option is set. This number also contains retryCount.
OptionalretryThe amount of times the task was retried. The task is retried only if it
failed and retry option is set.
OptionalstartTime in milliseconds when the task started running.
State of the task. Inherits the task.mode during collection.
When the task has finished, it will be changed to pass or fail.
The result of calling a task.