UNPKG

@serenity-js/core

Version:

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

14 lines 613 B
import { ActivityDetails, CorrelationId } from '../model/index.js'; import { Timestamp } from '../screenplay/index.js'; import { ActivityStarts } from './ActivityStarts.js'; /** * Emitted when an [`Interaction`](https://serenity-js.org/api/core/class/Interaction/) starts. * * @group Events */ export class InteractionStarts extends ActivityStarts { static fromJSON(o) { return new InteractionStarts(CorrelationId.fromJSON(o.sceneId), CorrelationId.fromJSON(o.activityId), ActivityDetails.fromJSON(o.details), Timestamp.fromJSON(o.timestamp)); } } //# sourceMappingURL=InteractionStarts.js.map