Test Epics with Marble Diagrams

InstructorShane Osbourne

Share this video with your friends

Send Tweet

Epics can be unit-tested just like any other function in your application - they have a very specific set of inputs (the action$ stream) and the output is always an Observable. We can subscribe to this output Observable to assert that the actions going back into the Redux are the ones we expect.