TIL: of() and of(null) work differently with pipes
of().pipe(concatMap(...))
*does not* fire concatMap on subscribe
of(null).pipe(concatMap(...))
*does* fire concatMap on subscribe
I am guessing of() is just not a supported concept since its supposed to return something
#rxjs
If you've been frustrated with unit testing in Angular using jasmine, check out this survival guide I'm working on... and let me know what you think of it.
github.com/chriscamac/markdo…
Couldn't get this feature I built and pushed late Friday morning out of my head. It just wasn't up to my standards. Spent an hour today refactoring it to be much cleaner. Now I can finish enjoying my weekend. #cleancode#refactor#Angular