wait-for-observables
A helper for await
ing the results of one or more Observable
s.
This is particularly handy when testing interfaces that return or consume observables.
Usage
; describe`observable things`,;
An observer that completes successfully will yield { values: any[] }
, where values
is an array containing an entry for each call to next
.
Observers that fail will yield { error: any }
.