We are testing angular js with jsdom and angular mocks. I have a setup file that requires jsdom, angular, and angular mocks in that order. Simple enough to set up tests with controllers and services. I am running into issues with templateUrl. I know with Karma you would have to set up a config.
I am wondering how you would access the templateUrl?
Would you require the html file where jsdom is configured?
Aucun commentaire:
Enregistrer un commentaire