@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
19 lines • 575 B
JavaScript
import { Outcome } from '../model/index.js';
import { Timestamp } from '../screenplay/index.js';
import { DomainEvent } from './DomainEvent.js';
/**
* Emitted when all the test scenarios have finished running.
*
* @group Events
*/
export class TestRunFinished extends DomainEvent {
outcome;
static fromJSON(o) {
return new TestRunFinished(Outcome.fromJSON(o.outcome), Timestamp.fromJSON(o.timestamp));
}
constructor(outcome, timestamp) {
super(timestamp);
this.outcome = outcome;
}
}
//# sourceMappingURL=TestRunFinished.js.map