Testing NgRx effects with promises – marbles alternative
You can test effects using marbles but unfortunately, they are very complicated.
Instead of marbles, you can test your effects using promises without any trade-offs.
Testing RxJS observables with Promise – the simplest way
When testing RxJS code, you typically want to verify that your
observables emit the expected values in response to certain actions or events.
See how you can cover those cases using async/await approach.