var dataService= (function () {function AdalLoginHelperService($q, $resource, adalAuthenticationService) {
this.$q = $q;
this.$resource = $resource;
this.adal = new AuthenticationContext(adalAuthenticationService.config);}
The above code which is written in typescript file as service named as dataService. I'm unable to inject $resource,adal,dataService in unit tests using jasmine
Can you tell me how to solve this.
Aucun commentaire:
Enregistrer un commentaire