UNPKG

@serenity-js/core

Version:

The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure

16 lines 678 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TaskStarts = void 0; const index_js_1 = require("../model/index.js"); const index_js_2 = require("../screenplay/index.js"); const ActivityStarts_js_1 = require("./ActivityStarts.js"); /** * @group Events */ class TaskStarts extends ActivityStarts_js_1.ActivityStarts { static fromJSON(o) { return new TaskStarts(index_js_1.CorrelationId.fromJSON(o.sceneId), index_js_1.CorrelationId.fromJSON(o.activityId), index_js_1.ActivityDetails.fromJSON(o.details), index_js_2.Timestamp.fromJSON(o.timestamp)); } } exports.TaskStarts = TaskStarts; //# sourceMappingURL=TaskStarts.js.map