Skip to main content

All Questions

1 vote
0 answers
652 views

Adding relative template path for angular unit testing with ng-html2js-preprocessor

I've a angular directive with a template url. I'm trying to test the directive with karma. So get the html of the directive with ng-html2js-preprocessor . My project folder structure is var www ...
Indranil Mondal's user avatar
0 votes
2 answers
111 views

Issue with Directives Templates?

I keep getting this error when trying to run unit-tests on my directives: Error: Unexpected request: GET /assets/partials/project-brand.html No more request expected I'm stumped on what may be ...
Dave M's user avatar
  • 418
2 votes
1 answer
443 views

ng-html2js doesn't work with Phantom, does work with Chrome

I'm using cg-angular to scaffold out my project. I'm testing a directive that uses templateUr, and ng-html2js to load my templates into a module. When I run my test using Chrome as the browser it ...
Justin Boyson's user avatar