Testing Angular Service with Observables
In this post, we will write a small service that returns an Observable of number, and then see how we can write a unit test to test the method.
To start, our service will be called DataService and it will contain a single method called getObservableD...
aliasger.dev5 min read