This question is about RxJS5.
Context: I tried using TestScheduler, it all works fine until I plug in the promises.
For instance let's take "someFunction" from the example below. How would I validate the output expected within 1 minute period (without actually having to wait 1 minute in the test).
const asyncFunction = new Promise( (resolve) =>
setTimeout((() => resolve(1)), 0)
);
const someFunction = () =>
Rx.Observable.fromInterval(15000)
.flatMap( each => Rx.Observable.from(asyncFunction()))
.map(each => each + 1)