How to marble test RxJS Subjects
How to bridge the gap between the timing of function calls and Observables
6 min readDec 3, 2020
Asynchronous code is hard! It’s hard to write and to test.
RxJs has changed the way we think about asynchrony. Instead of using Promises, we nowadays deal with streams in the form of Observables or Subjects. RxJs provides us with many out of the box operators…