Jasmine could use $httpBackend to make fake restful calls by using
$httpBackend.whenGet("https://www.test.com")
.respond({....})
But can I make real data calls to the server I make?
Jasmine could use $httpBackend to make fake restful calls by using
$httpBackend.whenGet("https://www.test.com")
.respond({....})
But can I make real data calls to the server I make?
This is an angular question, not a jasmine one, $httpBackend is from angular.
In ngMock $httpBackend don't make a real call, but it can with ngMockE2E. To use both together, refer to
E2E mock $httpBackend doesn't actually passThrough for me
or
https://github.com/angular/angular.js/issues/1434
then you can use :
$httpBackend.whenGet("https://www.test.com").passThrough();