I have written some unit testing code for my angular application using jasmine.js. It's really integration testing because I am making real http call using the idea described in this link [E2E mock $httpBackend doesn't actually passThrough for me
Now, since I am making real http call, the base url for my local system is different from the DEV url, to which the TeamCity will run the test. Right now the base url is hardcoded in the unit testing code. How can I identify the environment in my test so that I can use the right url? Can I pass any parameter to Jasmine and read that in code? Thanks for the help.