You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make it simpler to verify Observables which emit multiple values, there should be an assertion which can operate on the first and last emissions.
// For first valuesassertThat(ts).hasReceivedFirstValue(value);
assertThat(ts).hasReceivedFirstValueWhich().hasLength(5);
assertThat(ts).hasReceivedFirstValuesWhich().isEmpty(); // List assertion// Similarly, For last valuesassertThat(ts).hasReceivedLastValue(value);
assertThat(ts).hasReceivedLastValueWhich().hasLength(5);
assertThat(ts).hasReceivedLastValuesWhich().isEmpty(); // List assertion
The text was updated successfully, but these errors were encountered:
Naming needs some thought for assertion of an individual List to avoid confusion with the other assertions which are asserting again all the emissions (as a List as received by TestSubscriber)
To make it simpler to verify Observables which emit multiple values, there should be an assertion which can operate on the first and last emissions.
The text was updated successfully, but these errors were encountered: