X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fkarma.conf.js;h=a4d9053933a56e7fb01683f6ca29b2033b2554e3;hb=1a228b4c87a7c5a9d4bced9a28000557d5660e64;hp=f65258730f32a75c8c1ce3af20590fa6ad29d9df;hpb=1ae1509838474b74d3fba70bdcede8c7445cc809;p=civicrm-core.git diff --git a/tests/karma.conf.js b/tests/karma.conf.js index f65258730f..a4d9053933 100644 --- a/tests/karma.conf.js +++ b/tests/karma.conf.js @@ -12,6 +12,7 @@ module.exports = function(config) { 'packages/jquery/plugins/select2/select2.min.js', 'packages/jquery/plugins/jquery.blockUI.js', 'packages/jquery/plugins/jquery.validate.js', + 'packages/jquery/plugins/jquery.timeentry.js', 'js/Common.js', 'bower_components/angular/angular.js', 'bower_components/angular-file-upload/angular-file-upload.js', @@ -24,9 +25,20 @@ module.exports = function(config) { 'tests/karma/modules.js', 'js/crm.ajax.js', 'js/angular-*.js', + 'js/angular-crmMailing/*.js', 'tests/karma/lib/*.js', 'tests/karma/**/*.js', + 'partials/**/*.html' ], + preprocessors : { + 'partials/**/*.html' : ['ng-html2js'] + }, + + ngHtml2JsPreprocessor: { + stripPrefix: 'partials/', + prependPrefix: '~/', + moduleName: 'crmResource' + }, frameworks: ['jasmine'], logLevel: config.LOG_INFO, port: 9876,