I have a parent controller that I inherit and it makes many calls and uses services, how do I init my child controller in a unit test bypassing the parent to prevent those calls?
I tried this solution here: Unit test AngularJS controller that inherits from a base controller via $controller
Unfortunately it's not working.
Aucun commentaire:
Enregistrer un commentaire