UNPKG

@serenity-js/cucumber

Version:

Serenity/JS test runner adapter for seamless integration with any version of Cucumber.js, facilitating BDD-style test automation and leveraging Serenity/JS reporting capabilities

18 lines 679 B
import type { Outcome } from '@serenity-js/core/lib/model'; import type { CucumberFormatterOptions } from './CucumberFormatterOptions'; import type { Dependencies } from './Dependencies'; /** * @private */ export declare function cucumberEventProtocolAdapter({ serenity, notifier, mapper, cache }: Dependencies): { new ({ eventBroadcaster, log }: CucumberFormatterOptions): { readonly log: any; outcomeFrom(result: { duration: number; exception: string | Error; status: string; }): Outcome; errorFrom(maybeError: Error | string): Error; }; }; //# sourceMappingURL=CucumberEventProtocolAdapter.d.ts.map