DEV Community

S, Takmaz
S, Takmaz

Posted on • Updated on

Today I learned (1)

Top comments (2)

Collapse
 
tindermere profile image
Tin Nguyen • Edited

Hi there, I also started observable unit testing with this blog.
At first it seems pretty easy, but marbles can get very tricky when the use case is more advanced..
I recommend to use HiRez's observerSpy..
github.com/hirezio/observer-spy

You can then just test the outcome, without setting up the marbles :)

Collapse
 
servoo profile image
S, Takmaz

Hey Tin,
Thanks so much, looks interesting. I'll look into it :)