@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
25 lines (18 loc) • 625 B
text/typescript
/**
* @package
* @see https://jasmine.github.io/api/edge/global.html#Expectation
*/
export interface Expectation {
/** The name of the matcher that was executed for this expectation. */
matcherName: string;
/** The failure message for the expectation. */
message: string;
/** The stack trace for the failure if available. */
stack?: string;
/** Whether the expectation passed or failed. */
passed: boolean;
/** If the expectation failed, what was the expected value. */
expected?: any;
/** If the expectation failed, what actual value was produced. */
actual?: any;
}