0

I'm trying to unit test a controller which has a method called results and inside has a $http.get API request.

Could someone please explain how to go about testing the $http.get request? I've looked at using $httpBackend but am unable to put together code that works.

4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.