@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 • 784 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.InteractionStarts = void 0;
const model_1 = require("../model");
const screenplay_1 = require("../screenplay");
const ActivityStarts_1 = require("./ActivityStarts");
/**
* Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) starts.
*
* @group Events
*/
class InteractionStarts extends ActivityStarts_1.ActivityStarts {
static fromJSON(o) {
return new InteractionStarts(model_1.CorrelationId.fromJSON(o.sceneId), model_1.CorrelationId.fromJSON(o.activityId), model_1.ActivityDetails.fromJSON(o.details), screenplay_1.Timestamp.fromJSON(o.timestamp));
}
}
exports.InteractionStarts = InteractionStarts;
//# sourceMappingURL=InteractionStarts.js.map
;