Testing RxJS Observables with Marble Diagrams
15-08-2018
Testing RxJS might be a hard task, specially when we have a complex pipeline with lots of time assertions. In this article we’ll explore how can we make these tests easier to reason about using Marble Diagrams, but first:
What are Marble Diagrams?
Marble Diagrams are visual representation for events emitted over the time. For example, this is the diagram corresponding to an emission from 0 to 3 over the time: