@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 • 690 B
JavaScript
import { TinyType } from 'tiny-types';
import { FileSystemLocation } from '../io/index.js';
import { CorrelationId } from './CorrelationId.js';
import { Name } from './Name.js';
export class TestSuiteDetails extends TinyType {
name;
location;
correlationId;
static fromJSON(o) {
return new TestSuiteDetails(Name.fromJSON(o.name), FileSystemLocation.fromJSON(o.location), CorrelationId.fromJSON(o.correlationId));
}
constructor(name, location, correlationId = CorrelationId.create()) {
super();
this.name = name;
this.location = location;
this.correlationId = correlationId;
}
}
//# sourceMappingURL=TestSuiteDetails.js.map