UNPKG

@serenity-js/core

Version:

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

23 lines 773 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TestRunFinished = void 0; const index_js_1 = require("../model/index.js"); const index_js_2 = require("../screenplay/index.js"); const DomainEvent_js_1 = require("./DomainEvent.js"); /** * Emitted when all the test scenarios have finished running. * * @group Events */ class TestRunFinished extends DomainEvent_js_1.DomainEvent { outcome; static fromJSON(o) { return new TestRunFinished(index_js_1.Outcome.fromJSON(o.outcome), index_js_2.Timestamp.fromJSON(o.timestamp)); } constructor(outcome, timestamp) { super(timestamp); this.outcome = outcome; } } exports.TestRunFinished = TestRunFinished; //# sourceMappingURL=TestRunFinished.js.map