@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
20 lines (17 loc) • 440 B
text/typescript
import { Timestamp } from '../screenplay';
import { DomainEvent } from './DomainEvent';
/**
* Emitted when the very first test is about to start
*
* @group Events
*/
export class TestRunStarts extends DomainEvent {
static fromJSON(v: string): TestRunStarts {
return new TestRunStarts(
Timestamp.fromJSON(v as string),
);
}
constructor(timestamp?: Timestamp) {
super(timestamp);
}
}