@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) • 452 B
text/typescript
import { Timestamp } from '../screenplay/index.js';
import { DomainEvent } from './DomainEvent.js';
/**
* 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);
}
}