UNPKG

@serenity-js/jasmine

Version:

Serenity/JS test runner adapter for Jasmine, enabling the use of the Screenplay Pattern in Jasmine-based test suites and leveraging Serenity/JS reporting capabilities

28 lines (21 loc) 839 B
import type { Expectation } from './Expectation.js'; import type { Order } from './Order.js'; /** * Information passed to the Reporter#jasmineDone event. * * @see https://jasmine.github.io/api/edge/global.html#JasmineDoneInfo * * @package */ export interface JasmineDoneInfo { /** The overall result of the suite: 'passed', 'failed', or 'incomplete'. */ overallStatus: string; /** Explanation of why the suite was incomplete. */ incompleteReason: string | undefined; /** Information about the ordering (random or not) of this execution of the suite. */ order: Order; /** List of expectations that failed in an afterAll at the global level. */ failedExpectations: Expectation[]; /** List of deprecation warnings that occurred at the global level. */ deprecationWarnings: Expectation[]; }