I can\'t make Karma working for directives that have external templates.
Here is my karma configuration file :
pr
I'm in the process of learning AngularJS and ran into the same problem. I have no idea why but changing the port in karma.conf.js fixed it for me.
module.exports = function(config){
config.set({
...
port: 9877,
...
});
};
Edit:
After a bit more testing I found that the problem was only happening on Chrome, and was resolved by explicitly clearing all of the browser history (Ctrl + F5 didn't work).