Searched for how to mock the modal popup however nothing seems to be able to make the test specs as pass and it seems the controller and the scope is undefined.
Some of the links which i have referred:
- Unit testing : testing a modalinstance controller with Karma / Jasmine AngularJS UI Bootstrap testing modal instance controller Loading mock of $modal in Jasmine tests
However none of them provides the solution, can anyone help me out with this?
Aucun commentaire:
Enregistrer un commentaire