@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 • 583 B
TypeScript
import type { Timestamp } from './models';
/**
* Describes an [`Actor`](https://serenity-js.org/api/core/class/Actor/) or a supporting class capable of telling
* the current wall clock time.
*
* ## Learn more
* - [`Actor`](https://serenity-js.org/api/core/class/Actor/)
* - [`Serenity`](https://serenity-js.org/api/core/class/Serenity/)
* - [`Stage`](https://serenity-js.org/api/core/class/Stage/)
*
* @group Time
*/
export interface TellsTime {
/**
* Returns current wall clock time.
*/
currentTime(): Timestamp;
}
//# sourceMappingURL=TellsTime.d.ts.map