X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=karma.conf.js;h=eada18ded519964e83d60c5e5d179d07534fd613;hb=1ef73b88715df1ba6d0c3a992848ad488ebf9089;hp=ef710fcefd35c08b2cd757074091d1e526f0f789;hpb=3e3ee92a62042677393b7a41b39217f4df1b600a;p=civicrm-core.git diff --git a/karma.conf.js b/karma.conf.js index ef710fcefd..eada18ded5 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -8,9 +8,9 @@ module.exports = function(config) { 'bower_components/jquery/dist/jquery.min.js', 'bower_components/jquery-ui/jquery-ui.min.js', 'bower_components/lodash-compat/lodash.min.js', - 'packages/jquery/plugins/select2/select2.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' },