@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
12 lines • 543 B
JavaScript
import { ActivityDetails, CorrelationId, Outcome } from '../model/index.js';
import { Timestamp } from '../screenplay/index.js';
import { ActivityFinished } from './ActivityFinished.js';
/**
* @group Events
*/
export class TaskFinished extends ActivityFinished {
static fromJSON(o) {
return new TaskFinished(CorrelationId.fromJSON(o.sceneId), CorrelationId.fromJSON(o.activityId), ActivityDetails.fromJSON(o.details), Outcome.fromJSON(o.outcome), Timestamp.fromJSON(o.timestamp));
}
}
//# sourceMappingURL=TaskFinished.js.map