Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnresolvedExpectation<T>

The case of an expectation that hasn't been resolved. It is the case for expectations combining children expectations in such ways that it may be unnecessary to resolve all the children to reach the outcome (e.g. expectAllOf, expectAnyOf)

Type parameters

  • T

    The type of FulfilledExpectation.value, i.e. the type of the expectation return's value (normalized value) when the expectation is fulfilled

Hierarchy

Index

Constructors

constructor

Properties

Readonly children

children: ExpectationStatus<T>[]

Readonly expectation

expectation: IExpectation<T>

Readonly fromValue

fromValue: unknown

Readonly succeeded

succeeded: boolean

Readonly value

value: T

Generated using TypeDoc