I am using yeoman angular-fullstack in my application. In the process of unit testing in one of my spec file, I've a web service called in $onInit() method and another webservice called in child function of the controller class.
But while running grunt karma it is expecting only webservice from $onInit(), can anyone help me by testing webservice from my child function of the controller class.
Aucun commentaire:
Enregistrer un commentaire