UNPKG

@serenity-js/core

Version:

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

18 lines 819 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InteractionStarts = 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"); /** * Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) starts. * * @group Events */ class InteractionStarts extends ActivityStarts_js_1.ActivityStarts { static fromJSON(o) { return new InteractionStarts(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.InteractionStarts = InteractionStarts; //# sourceMappingURL=InteractionStarts.js.map