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