How can I unit test an RxJS effect that uses a withLatestFrom operator to call another service
I have an RxJs effect that uses a withLatestFrom operator, within my action pipe, to retrieve some state from the store. When it comes to unit testing, I’m getting the following error concerning undefined where stream was expected so clearly my observables are not set up correctly in the test. The code works as expected in System Testing.