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 738 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TaskFinished = void 0; const index_js_1 = require("../model/index.js"); const index_js_2 = require("../screenplay/index.js"); const ActivityFinished_js_1 = require("./ActivityFinished.js"); /** * @group Events */ class TaskFinished extends ActivityFinished_js_1.ActivityFinished { static fromJSON(o) { return new TaskFinished(index_js_1.CorrelationId.fromJSON(o.sceneId), index_js_1.CorrelationId.fromJSON(o.activityId), index_js_1.ActivityDetails.fromJSON(o.details), index_js_1.Outcome.fromJSON(o.outcome), index_js_2.Timestamp.fromJSON(o.timestamp)); } } exports.TaskFinished = TaskFinished; //# sourceMappingURL=TaskFinished.js.map