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

15 lines 546 B
import type { Serenity } from '@serenity-js/core'; import type { Outcome } from '@serenity-js/core/lib/model'; /** * @package */ export declare class ResultMapper { private readonly serenity; constructor(serenity: Serenity); outcomeFor(status: string, maybeError: Error | string | undefined): Outcome; errorFrom(error: Error | string | undefined): Error | undefined; private isTimeoutError; private isANonSerenityAssertionError; private problemIndicationOutcomeFromError; } //# sourceMappingURL=ResultMapper.d.ts.map