@serenity-js/core
Version:
The core Serenity/JS framework, providing the Screenplay Pattern interfaces, as well as the test reporting and integration infrastructure
21 lines • 695 B
JavaScript
import { TinyType } from 'tiny-types';
/**
* An outcome of an [`Expectation`](https://serenity-js.org/api/core/class/Expectation/),
* which could be either [met](https://serenity-js.org/api/core/class/ExpectationMet/) or [not met](https://serenity-js.org/api/core/class/ExpectationNotMet/).
*
* @group Expectations
*/
export class ExpectationOutcome extends TinyType {
message;
expectation;
expected;
actual;
constructor(message, expectation, expected, actual) {
super();
this.message = message;
this.expectation = expectation;
this.expected = expected;
this.actual = actual;
}
}
//# sourceMappingURL=ExpectationOutcome.js.map