I\'m following this example to make a unit test for service (get request coming from spring app backend) https://angular.io/guide/testing#testing-http-services
Servi
I had to do this to get mine to work:
import { from } from 'rxjs';
then:
return from([expectedTarifs]);