X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=karma.conf.js;h=eada18ded519964e83d60c5e5d179d07534fd613;hb=c4f10bdde8763c3b8a2861d71dab6cfe29580932;hp=d96880596b9c532b73a09773b94c3e09e6da8681;hpb=e1ef4e117ec44cb8902cb155f7b6093f14334113;p=civicrm-core.git diff --git a/karma.conf.js b/karma.conf.js index d96880596b..eada18ded5 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -10,7 +10,7 @@ module.exports = function(config) { 'bower_components/lodash-compat/lodash.min.js', 'bower_components/select2/select2.min.js', 'packages/jquery/plugins/jquery.blockUI.js', - 'packages/jquery/plugins/jquery.validate.js', + 'bower_components/jquery-validation/dist/jquery.validate.min.js', 'packages/jquery/plugins/jquery.timeentry.js', 'js/Common.js', 'bower_components/angular/angular.js', @@ -23,18 +23,18 @@ module.exports = function(config) { 'bower_components/angular-unsavedChanges/dist/unsavedChanges.js', 'tests/karma/modules.js', 'js/crm.ajax.js', - 'js/angular-*.js', - 'js/angular-crmMailing/*.js', + 'ang/*.js', + 'ang/**/*.js', 'tests/karma/lib/*.js', 'tests/karma/**/*.js', - 'partials/**/*.html' + 'ang/**/*.html' ], preprocessors : { - 'partials/**/*.html' : ['ng-html2js'] + 'ang/**/*.html' : ['ng-html2js'] }, ngHtml2JsPreprocessor: { - stripPrefix: 'partials/', + stripPrefix: 'ang/', prependPrefix: '~/', moduleName: 'crmResource' },