@serenity-js/playwright-test
Version:
Serenity/JS test runner adapter for Playwright Test, combining Playwright's developer experience with the advanced reporting and automation capabilities of Serenity/JS
13 lines • 473 B
TypeScript
import type { DomainEvent } from '@serenity-js/core/lib/events';
import type { JSONObject } from 'tiny-types';
export declare class WorkerEventStreamReader {
hasStream(pathToEventStreamFile: string): boolean;
read<T extends DomainEvent>(pathToEventStreamFile: string, mapper?: (input: {
type: string;
value: JSONObject;
}) => {
type: string;
value: JSONObject;
}): T[];
}
//# sourceMappingURL=WorkerEventStreamReader.d.ts.map