From b470c67cf1b3a897d9144f14522a89d6f126411a Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Thu, 20 Aug 2015 17:56:21 -0700 Subject: [PATCH] added editForm directive tests --- karma.conf.js | 3 ++- .../forms/tests/directives/edit-form.client.directive.test.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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