mardi 1 septembre 2015

Jasmine Unit Testing Angular Controller and Services MockData Call actual api

I want to write test cases of my angular services in Jasmine. but i am having trouble with calling api, seems that jasmine and angular is preparing some mock data to test instead of calling the actual server api.

Or should i use some other framework for testing angular js.

Aucun commentaire:

Enregistrer un commentaire