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 922 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TestSuiteDetails = void 0; const tiny_types_1 = require("tiny-types"); const index_js_1 = require("../io/index.js"); const CorrelationId_js_1 = require("./CorrelationId.js"); const Name_js_1 = require("./Name.js"); class TestSuiteDetails extends tiny_types_1.TinyType { name; location; correlationId; static fromJSON(o) { return new TestSuiteDetails(Name_js_1.Name.fromJSON(o.name), index_js_1.FileSystemLocation.fromJSON(o.location), CorrelationId_js_1.CorrelationId.fromJSON(o.correlationId)); } constructor(name, location, correlationId = CorrelationId_js_1.CorrelationId.create()) { super(); this.name = name; this.location = location; this.correlationId = correlationId; } } exports.TestSuiteDetails = TestSuiteDetails; //# sourceMappingURL=TestSuiteDetails.js.map