I am having issues loading my when including ngMock, so I would like to only load it when I am running my tests. Is there a flag or some kind of isTesting() function that gets set when karma runs tests? Something I can then reference when creating the array of dependencies for my app.
Aucun commentaire:
Enregistrer un commentaire