diff --git a/karma.conf.js b/karma.conf.js index bae0d2ad..0e6bb8c6 100755 --- a/karma.conf.js +++ b/karma.conf.js @@ -22,7 +22,8 @@ module.exports = function(config) { reporters: ['mocha', 'html', 'progress'], preprocessors: { - 'public/modules/**/*.html': ['ng-html2js'] + 'public/modules/**/*.html': ['ng-html2js'], + 'public/modules/**/*.js': ['coverage'], }, ngHtml2JsPreprocessor: { diff --git a/public/modules/forms/tests/directives/edit-form.client.directive.test.js b/public/modules/forms/tests/directives/edit-form.client.directive.test.js index 23bf2cb6..d9c4d97f 100644 --- a/public/modules/forms/tests/directives/edit-form.client.directive.test.js +++ b/public/modules/forms/tests/directives/edit-form.client.directive.test.js @@ -88,7 +88,7 @@ // Point global variables to injected services $httpBackend = _$httpBackend_; - // $httpBackend.whenGET(/.+\.html$/).respond(''); + $httpBackend.whenGET(/.+\.html$/).respond(''); $httpBackend.whenGET('/users/me/').respond(''); //Grab controller instance