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

26 lines (17 loc) 809 B
import type { Expectation } from './Expectation.js'; export interface Result { /** The unique id of this spec. */ id: string; /** The description passed to the 'it' that created this spec. */ description: string; /** The full description including all ancestors of this spec. */ fullName: string; /** The list of expectations that failed during execution of this spec. */ failedExpectations: Expectation[]; /** The list of deprecation warnings that occurred during execution this spec. */ deprecationWarnings: Expectation[]; /** Once the spec has completed, this string represents the pass/fail status of this spec. */ status?: string; /** The time in ms used by the spec execution, including any before/afterEach. */ duration: number | null; }